terminal hangs on solaris
Richard E. Silverman
slade at shore.net
Mon Jul 16 11:06:44 EST 2001
Rude Yak <rudeyak at yahoo.com> writes:
> Every once in a while, my terminal session with an OpenSSH server (any
> version, up to and including 2.9p2) will hang indefinitely upon logout, ...
It's likely that when this happens, it's because you have started a background
process from that shell which has not closed its stdout/stderr streams. sshd
waits to receive eof on the pipes to the shell's stdout/stderr before exiting,
and that can't happen until all references to those pipes are closed.
When you start a background process that you want to continue after you end
the SSH connection, be sure to redirect its stdout/stderr.
- Richard
More information about the openssh-unix-dev
mailing list