Re: SSH Session hangs after shutdown

From: 0xbeef (/dev/null)
Date: 11/29/03


Date: Sat, 29 Nov 2003 20:00:10 +0200

It may happen because of an EOF issue when you have started a background
job (out of a SSH session).

See http://www.snailbook.com/faq/background-jobs.auto.html

deadbeef

Peter Bohn wrote:
> Hello,
> i'm experiencing the following problem with my AIX boxes. At this time
> we use SSH 3.6.1p2 and OpenSSL 0.9.6g-3 from IBM on AIX5.1 and 5.2.
> SSHD has start an stop scripts in /etc/rc.d/rc2.d. They refer to the
> SRC-Subsystem.
>
> After initiating "shutdown -Fr" the system goes cleanly down, but my
> ssh-session is not killed and locks my xterm. After estimated 10
> Minutes the Sessions gets a timeout (?!?! or whatever) and is finally
> gone. The only way is to kill the ssh session or wait...
>
> Is there a workaround, so that my session gets automatically killed in
> the shutdown process?? Or is it an undocumentated feature?
>
>
> Peter