Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- only root can log in using ssh after reboot
April 15, 2007, 5:06 am
rate this thread
Linux dell 2.4.22-1.2199.nptl #1 Wed Aug 4 12:21:48 EDT 2004 i686 i686
Following is the steps to reproduce the problem.
1) reboot the box
2) try log in using ssh with a regular user account. It prompt for the
password. After typing the password, the session was terminated
immediately with following error message.
Server unexpectedly closed network connection
3) found following errors in /etc/message
Apr 14 20:51:35 dell sshd: Accepted password for frank from
192.168.12.83 port 2684 ssh2
Apr 14 20:51:35 dell sshd(pam_unix): session opened for user
frank by (uid=500)
Apr 14 20:51:35 dell sshd: fatal: PAM session setup failed:
4) log in as root instead. It's successful.
5) restart the ssh service without changing any configuration.
6) now try to log in as regular user again. it is successful onwards.
What could be the problem? How to fix this?
Thank you in advance.
- » How can you get sshd listinening TWO or more ports simultaneously?
- — Previous thread in » Secure Shell Forum
- » ssh on command line: force using a group size (prime size) of 1024 (and no...
- — Newest thread in » Secure Shell Forum