Re: ssh logout hang

2005-03-20 Thread Nadav Har'El
On Sat, Mar 19, 2005, Beni Cherniavsky wrote about Re: ssh logout hang: I'm not sure from the above description how can a subprocess still use the terminal after the shell exits - perhaps a foreground job that catches/ignores SIGHUP. I do think that I saw programs printing something after

Re: ssh logout hang

2005-03-19 Thread Oron Peled
On Friday 18 March 2005 12:00, shimi wrote: Well, I see it that way: If you kill a process, all the processes that were spawned by it are being killed as well [or supposed to be]. What you just described may exist in some other operating system, but is definitely not Unix/Linux/Posix

Re: ssh logout hang

2005-03-19 Thread shimi
--=-XxNlsoOqaHWSV1EEauEW Content-Type: text/plain Content-Transfer-Encoding: 7bit On Sat, 2005-03-19 at 11:25 +0200, Oron Peled wrote: On Friday 18 March 2005 12:00, shimi wrote: Well, I see it that way: If you kill a process, all the processes that were spawned by it are being killed

Re: ssh logout hang

2005-03-19 Thread Tzafrir Cohen
On Sat, Mar 19, 2005 at 06:55:41PM +0200, shimi wrote: --=-XxNlsoOqaHWSV1EEauEW Content-Type: text/plain Content-Transfer-Encoding: 7bit On Sat, 2005-03-19 at 11:25 +0200, Oron Peled wrote: On Friday 18 March 2005 12:00, shimi wrote: Well, I see it that way: If you kill a

Re: ssh logout hang

2005-03-19 Thread Oron Peled
On Saturday 19 March 2005 18:55, shimi wrote: Still, why isn't that a good idea? You're leaving the program that sshd spawned (and it knows what it spawned, right?), which means you obviously want to stop ssh doing his thing for which you negotiated in the first place... I cannot see a reason

Re: ssh logout hang

2005-03-19 Thread Beni Cherniavsky
shimi wrote: On Friday 18 March 2005 12:00, shimi wrote: If you kill a process, all the processes that were spawned by it are being killed as well [or supposed to be]. What you just described may exist in some other operating system, but is definitely not Unix/Linux/Posix behavior. Funny, I could

Re: ssh logout hang

2005-03-18 Thread shimi
--=-6evjGHD+D17WUG/8qZfc Content-Type: text/plain Content-Transfer-Encoding: 7bit On Fri, 2005-03-18 at 11:19 +0200, Ilya Konstantinov wrote: shimi wrote: Maybe try to think what programs you used when this happend (Although this is clearly a bug in sshd/ssh, and NOT in the programs. No

Re: ssh logout hang

2005-03-18 Thread Ilya Konstantinov
shimi wrote: Maybe try to think what programs you used when this happend (Although this is clearly a bug in sshd/ssh, and NOT in the programs. No matter what a program does, leaving a session and proper cleanup are up to the process that handles the session IMHO). It's NOT a bug in sshd. Ctrl-D is

ssh logout hang

2005-03-17 Thread Michael Green
I'm sure some of you have seen this: ssh session hangs/freezes on logout: you hit Ctrl-D, cursor instead of releasing the parent shell jumps to a new line and just sits there. googling on 'ssh logout freeze OR hang' reveals a plethora of evidence that the problem I'm having here is not an

Re: ssh logout hang

2005-03-17 Thread Shachar Shemesh
Michael Green wrote: I'm sure some of you have seen this: ssh session hangs/freezes on logout: you hit Ctrl-D, cursor instead of releasing the parent shell jumps to a new line and just sits there. googling on 'ssh logout freeze OR hang' reveals a plethora of evidence that the problem I'm having

Re: ssh logout hang

2005-03-17 Thread shimi
--=-cQ8Fz5lHzI/nfX+UZCi8 Content-Type: text/plain Content-Transfer-Encoding: 7bit On Thu, 2005-03-17 at 12:12 +0200, Michael Green wrote: I'm sure some of you have seen this: ssh session hangs/freezes on logout: you hit Ctrl-D, cursor instead of releasing the parent shell jumps to a new

Re: ssh logout hang

2005-03-17 Thread David Randelman
Michael Green wrote: I'm sure some of you have seen this: ssh session hangs/freezes on logout: you hit Ctrl-D, cursor instead of releasing the parent shell jumps to a new line and just sits there. googling on 'ssh logout freeze OR hang' reveals a plethora of evidence that the problem I'm

Re: ssh logout hang

2005-03-17 Thread Oron Peled
On Thursday 17 March 2005 12:12, Michael Green wrote: I'm sure some of you have seen this: ssh session hangs/freezes on logout: you hit Ctrl-D, cursor instead of releasing the parent shell jumps to a new line and just sits there. If the client side does not have a bug, you can always

Re: ssh logout hang

2005-03-17 Thread Tzafrir Cohen
On Thu, Mar 17, 2005 at 12:12:50PM +0200, Michael Green wrote: I'm sure some of you have seen this: ssh session hangs/freezes on logout: you hit Ctrl-D, cursor instead of releasing the parent shell jumps to a new line and just sits there. googling on 'ssh logout freeze OR hang' reveals a

Re: ssh logout hang

2005-03-17 Thread Gilboa Davara
You might be running some background process that doesn't detach from the tty. (In that case SSH is waiting for the process to exit) Gilboa On Thu, 2005-03-17 at 12:12 +0200, Michael Green wrote: I'm sure some of you have seen this: ssh session hangs/freezes on logout: you hit Ctrl-D,