I found an odd bug, which I so far, have reproduced twice.
The symptoms- logging into ssh will just time out.
Jun 10 10:07:18 Tower sshd[51491]: Connection from 10.100.10.3 port 2782 on 10.100.4.24 port 22 rdomain ""
Jun 10 10:07:46 Tower sshd[53503]: Connection from 10.100.10.3 port 2790 on 10.100.5.2 port 22 rdomain ""
Jun 10 10:08:46 Tower sshd[58123]: Connection from 10.100.10.3 port 2803 on 10.100.5.2 port 22 rdomain ""
Jun 10 10:08:59 Tower sshd[58123]: Received disconnect from 10.100.10.3 port 2803:11: Session closed [preauth]
Jun 10 10:08:59 Tower sshd[58123]: Disconnected from 10.100.10.3 port 2803 [preauth]
Jun 10 10:09:15 Tower sshd[51491]: Received disconnect from 10.100.10.3 port 2782:11: Session closed [preauth]
Jun 10 10:09:15 Tower sshd[51491]: Disconnected from authenticating user root 10.100.10.3 port 2782 [preauth]
Jun 10 10:09:36 Tower sshd[62244]: Connection from 10.100.10.3 port 2812 on 10.100.5.2 port 22 rdomain ""
Jun 10 10:09:43 Tower sshd[53503]: Connection closed by authenticating user root 10.100.10.3 port 2790 [preauth]
Jun 10 10:09:54 Tower sshd[63481]: Connection from 10.100.10.3 port 2818 on 10.100.4.24 port 22 rdomain ""
However, it will never connect.
As well, when trying "su root" (when run as root), this also hangs.
the logs, however, will show a successful su.
Jun 10 10:34:05 Tower su[51135]: Successful su for root by root
Jun 10 10:34:05 Tower su[51135]: + /dev/pts/0 root:root
When this issue occurs, there is nothing of interest from the dmesg output.
As well, using the terminal from the web interface works fine, SMB and NFS works fine, and I am unable to identify anything else impacted aside from su, and ssh/sftp.
SFTP exhibits the same symptoms noticed by SSH, which is expected.
I can confirm, restarting the server does correct this.
Restarting the service using:
root@Tower:~# /etc/rc.d/rc.sshd stop
root@Tower:~# /etc/rc.d/rc.sshd start
However, does not help this.
Will note, when this does occur, I am unable to su to ANY user account.
The logs, however, do show success.
Jun 10 10:41:06 Tower su[17603]: Successful su for scanner by root
Jun 10 10:41:06 Tower su[17603]: + /dev/pts/0 root:scanner
Jun 10 10:41:16 Tower su[18337]: Successful su for root by root
Jun 10 10:41:16 Tower su[18337]: + /dev/pts/0 root:root
Jun 10 10:41:19 Tower su[18640]: Successful su for root by root
Jun 10 10:41:19 Tower su[18640]: + /dev/pts/0 root:root
Jun 10 10:41:23 Tower su[18844]: Successful su for root by root
Jun 10 10:41:23 Tower su[18844]: + /dev/pts/0 root:root
Based on what I have seen, I don't think this is related to SSH, but, rather, it seems something is getting hung when creating a new session somewhere in linux.
I have attached diagnostics, and I don't have any need to reboot currently, so- if you have any other steps you would like executed, please let me know.... and I should be able to execute them while in this "broken" state.
Diagnostics are attached.
Recommended Comments
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.