Operating System - HP-UX
1753639 Members
5278 Online
108798 Solutions
New Discussion юеВ

Re: SSH client not terminating after logout

 
yc_2
Regular Advisor

SSH client not terminating after logout

Hi,

We have an rp4440 running HP-UX 11.11. Sometimes, the ssh client will not terminate after logout (ie: exit) from the ssh session.

Any pointer is appreciated.
3 REPLIES 3
Ganesan R
Honored Contributor

Re: SSH client not terminating after logout

Hi,

Do you see the tty session exist after logout in "w" or "who -u" output?

#who -u
Best wishes,

Ganesh.
Mel Burslan
Honored Contributor

Re: SSH client not terminating after logout

press

~.

this is the terminate immediately command for the sshd.

HP's ssh implementation, sometimes disconnects your tty before terminating the session. When this happens, you will see an sshd running on another terminal session but instead of the tty/pty name, you see something like notty. When that happens, you either need to kill that PID from another connected session or hit enter a couple of times then hit ~. (tilde, then dot). This should disconnect your session for sure.

Hope this helps
________________________________
UNIX because I majored in cryptology...
Viktor Balogh
Honored Contributor

Re: SSH client not terminating after logout


are you using putty as a client? if you are forwarding ports this could be the problem, putty doesn't exit immediately, it will wait for the end of traffic on those ports.

****
Unix operates with beer.