circlesquare
Verified User
- Joined
- May 24, 2007
- Messages
- 22
When i login to ssh as admin, the password gets accepted however the connection immediately terminates and putty closes the window.
I have the following in sshd_config:
PermitRootLogin no
PasswordAuthentication yes
AllowUsers root admin
There are no related errors in /var/log/messages and admin is part of he wheel group.
I have tried stopping and then starting ssh which did not work.
When I set PermitRootLogin to yes, I am able to login as root without any problems
Any ideas? Thanks
I have the following in sshd_config:
PermitRootLogin no
PasswordAuthentication yes
AllowUsers root admin
There are no related errors in /var/log/messages and admin is part of he wheel group.
I have tried stopping and then starting ssh which did not work.
When I set PermitRootLogin to yes, I am able to login as root without any problems
Any ideas? Thanks