[debian] ssh hangs
Timo Juhani Lindfors
timo.lindfors at iki.fi
Sun Feb 21 15:15:57 CET 2010
"arne anka" <openmoko at ginguppin.de> writes:
> a long time ago i used to experience frequent hangs with ssh connections,
> when using that infamous dropbear.
Does this happen when you ssh to localhost?
> but with an upgrade of sshd a few weeks ago the exact same issue was
> introduced again, after a few lines of output the ssh shell freezes and
> there's nothing to be done excpet killing -- and that's not that easy
Does the client respond to escape sequences? (man ssh and read "ESCAPE
CHARACTERS")
> - what happens? i never found any log entries shedding light. does anyone
> else experience that?
> - is there a way to make ssh connections easily distinguishable with ps or
> so?
"ps axuf" should make it easy to associate ssh server processes to the
programs that you are using over ssh and "netstat -alpn" should tell
you which tcp ports these server processes are talking to. If you then
run "netstat -alpn" on the client side you can figure out which client
uses the port associated with the "frozen" connection.
More information about the community
mailing list