Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: timeout problem in ssh sessions



On 2008-02-12, 20:07, Bart Schaefer wrote:
> } Does this make sense to you?
> Nope, sorry ...

Today I tried to reproduce this with bash as default shell for root,
but I couldn't!  So, zsh is somehow connected to this behaviour.

My (currently) minimal test case is:

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
 condor:~>ssh spiegl@localhost
 Linux condor 2.6.23.1 #1 SMP PREEMPT Thu Nov 1 01:54:03 CET 2007 i686
 
 Quote of the day:
  Isn't making a smoking section in a restaurant
  like making a peeing section in a swimming pool?  (George Carlin, US comedian)
 
 You have mail.
 Last login: Wed Feb 13 13:52:57 2008 from xxxxxxxx.de
 condor:~>cd /usr/src/linux
 condor:/usr/src/linux-2.6.23.1>id
 uid=1001(spiegl) gid=100(users) Gruppen=4(adm),6(...
 condor:/usr/src/linux-2.6.23.1>exit
 
 Terminating shell with PID 589 on TTY /dev/pts/16:
 USER       PID  PPID S CPU %MEM   RSS    VSZ  START     ELAPSED   TIME CMD
 spiegl     589   562 R   -  0.6 20744  24800  14:30       00:15   0:00 -zsh
 
 USER       PID  PPID S CPU %MEM   RSS    VSZ  START     ELAPSED   TIME CMD
 spiegl     562   557 S   -  0.0  1956   8100  14:30       00:15   0:00 sshd: spiegl@pts/16
 spiegl     589   562 S   -  0.6 20744  24800  14:30       00:15   0:00 -zsh
 
 Last user was: spiegl.  Bye!
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-

At this point it just hangs for minutes.

Strange: it doesn't hang every time, but about 30% of the time.
Even stranger: it doesn't happen with bash as login shell.
Uhm, interesting: it doesn't happen with the parameter "-x" to ssh.

Still grateful for any idea,
 Andy.

-- 
 *anuthur egsample of the publik edukashun sistem* :)



Messages sorted by: Reverse Date, Date, Thread, Author