Hanging ssh sessions?
I'm running AIX 7.2. Sometimes, only on certain machines, I'll have a "hung" ssh session. The user has logged out and has no processes running, but there is an SSH session with that user still connected to the socket.
The only way I've found to clear them is to reboot the machine. Has anyone else encountered this? What causes it and/or how can I prevent it? |
probably would be nice to check logs on both sides. Also would be nice to know how the ssh server was configured.
|
Quote:
Apparently, they haven't all been built the same way! [Too bad you can't see the look of shock and awe on my face :)] |
Some keep-alive functionality should be enabled to detect connection-losses., eg
/etc/ssh/ssh_config Code:
ServerAliveInterval 30 Code:
ClientAliveInterval 30 |
Quote:
I hope your server team learns about SOPs for setting up systems. Cheers... |
All times are GMT -5. The time now is 06:11 PM. |