Hi,
I just got my Excito B3 and can connect via the web interface. I have created a user and checked the "shell login" check box. However I cannot login using ssh (Putty): I keep getting "Access Denied". This is the case with the 2.1 software version and the 2.2 version which I have upgraded to. I have tried rebooting as well (both cold and warm).
In the auth.log there are no entries about failed login. If I try to login with the admin via ssh I also get "Access Denied" and there is an entry in the auth.log saying "User admin from 10.0.0.3 not allowed because listed in DenyUsers". In the auth.log I can also see the following entry: change user 'ewr' shell from '/usr/sbin/nologin' to '/bin/bash' confirming that shell login should be allowed.
Any ideas how to fix this?
Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Cannot login using ssh
Re: Cannot login using ssh
don't log into ssh as user admin, but as another user.
Re: Cannot login using ssh
Hi ewr,
Please try to log in as root via ssh from your local network using excito as password.
The message you quoted tells me the user ewr does NOT have the option to log in via SSH.
Perhaps the web interface has failed to update /etc/passwd for the user ewr?
Or perhaps you have made a mistake?
Anyway, if you log in as root, you should be able to confirm that it is not a network issue or similar, but a configuration issue with the ewr user.
Try this when you manage to log in as root:
You will hopefully get a line like this:
This line in the file /etc/passwd file has several directives regarding your user account separated by colons. The bit after the last colon tells it what shell it should start when that user logs in. "/usr/sbin/nologin" is not a real shell, but just a trick to keep that user from being able to log in to the system.
Best regards,
Cheeseboy
EDIT:
Changed commas to colons
Please try to log in as root via ssh from your local network using excito as password.
The message you quoted tells me the user ewr does NOT have the option to log in via SSH.
Perhaps the web interface has failed to update /etc/passwd for the user ewr?
Or perhaps you have made a mistake?
Anyway, if you log in as root, you should be able to confirm that it is not a network issue or similar, but a configuration issue with the ewr user.
Try this when you manage to log in as root:
Code: Select all
$ grep ewr /etc/passwd
Code: Select all
ewr:x:1001:100:your name:/home/ewr:/bin/bash
Best regards,
Cheeseboy
EDIT:
Changed commas to colons
Re: Cannot login using ssh
This sounds to me like you are behind a firewall or something, because the login call wont reach the sshd. Check if you have a firewall and if so, forward the ssh port to the bubba. (And when your at it, change the port from 22 to something else)In the auth.log there are no entries about failed login.
Re: Cannot login using ssh
no. ignore that post. It's not a firewall issue. Also do not mess with other settings not directly related to your problem, or you're mixing problems and you'll never figure out what's going on.
You're getting "User admin from 10.0.0.3 not allowed because listed in DenyUsers" in your auth.log. This means you're connecting to the SSH terminal properly. So firewall is not the problem
You're saying you get no entries in auth.log about failed login for a normal user, but you get entries about failed login for user admin. That's really not possible. Please post output from auth.log where you try to login as a regular user and then as user admin.
You're getting "User admin from 10.0.0.3 not allowed because listed in DenyUsers" in your auth.log. This means you're connecting to the SSH terminal properly. So firewall is not the problem
You're saying you get no entries in auth.log about failed login for a normal user, but you get entries about failed login for user admin. That's really not possible. Please post output from auth.log where you try to login as a regular user and then as user admin.
Re: Cannot login using ssh
So true, didn't think about thatYou're getting "User admin from 10.0.0.3 not allowed because listed in DenyUsers" in your auth.log. This means you're connecting to the SSH terminal properly. So firewall is not the problem

Re: Cannot login using ssh
OK, I finally solved this one after several hours of work ......
It turned out that I was using an older version of Putty (0.51) that I have been using for a long time without any problems. But this version apparently does not work with B3.
After installing the newest version (0.60) it worked right away.
The way I got suspicious about putty was because I tried to ssh from my Ubuntu installation which worked out-of-the box.
It turned out that I was using an older version of Putty (0.51) that I have been using for a long time without any problems. But this version apparently does not work with B3.
After installing the newest version (0.60) it worked right away.
The way I got suspicious about putty was because I tried to ssh from my Ubuntu installation which worked out-of-the box.