Re: [debian] ssh hangs

2010-02-25 Thread arne anka
>> nope. and not with other targets. only the fr, which makes me suspect it
>
> What if you ssh to localhost on FR itself?

while trying that it occurs to me, that there's no way to answer that:

- i still have not found how reliably reproduce the issue -- it happens  
pretty frequently, but, you know, a watched kettle never boils
- the only sensbile way to try that, is by connecting via ssh from my box  
and then locally on the fr -- but, if the connection freezes again, how do  
i tell whether it was caused by the local or the remote one?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] ssh hangs

2010-02-21 Thread Timo Juhani Lindfors
"arne anka"  writes:
> nope. and not with other targets. only the fr, which makes me suspect it  

What if you ssh to localhost on FR itself?


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] ssh hangs

2010-02-21 Thread arne anka
>> 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?

nope. and not with other targets. only the fr, which makes me suspect it  
has something to do with usb networking.
but it has not been an issue before with debian ssh.
it seems to happen only when th fr outputs something, frinst when doing

qdbus --system

(even with mdbus) or when compiling via ssh.

> Does the client respond to escape sequences? (man ssh and read "ESCAPE
> CHARACTERS")

have to check next time. as usual it does not freeze while watched now :-)

> "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.

yes, but i kind of hoped for a simpler solution.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [debian] ssh hangs

2010-02-21 Thread Timo Juhani Lindfors
"arne anka"  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.

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[debian] ssh hangs

2010-02-21 Thread arne anka
a long time ago i used to experience frequent hangs with ssh connections,  
when using that infamous dropbear.
after i while i got fed up and replaced that crippled thing with a full  
good sshd, which worked well until a few weeks ago.

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  
since i usually have several connections open and there's no easy way to  
determine which one is the frozen one.

so, 1.5 questions:
- 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?

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community