Re: Cygwin ssh exits when I hit ctrl+c in a shell over a slow connection
From: Darren Tucker (dtucker_at_gate.dodgy.net.au)
Date: 04/28/05
- Next message: Peter Petersen: "Re: ssh and subsequent telnet, encrypted?"
- Previous message: Darren Tucker: "Re: Secure SSH Version"
- In reply to: ion: "Cygwin ssh exits when I hit ctrl+c in a shell over a slow connection"
- Next in thread: ion: "Re: Cygwin ssh exits when I hit ctrl+c in a shell over a slow connection"
- Reply: ion: "Re: Cygwin ssh exits when I hit ctrl+c in a shell over a slow connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 28 Apr 2005 12:17:47 GMT
On 2005-04-27, ion <ionFreeman@gmail.com> wrote:
> I can ssh in, then run something like 'tail -f logfile'. To
> terminate the tail -f, I hit 'ctrl+c'. This terminates my shell!
ssh in to what platform? Running which SSH software and version?
This can happen if sshd doesn't set up the controlling terminal properly
for the user's shell, and ends up with the pty being the controlling tty
of sshd. When you hit CTRL-C, the interrupt signal is delivered to sshd
instead of the tail, and sshd dies.
I've only ever seen this with OpenSSH vintage 3.1 or so on Solaris (where
it's actually due to a bug in a STREAMS module, but OpenSSH has worked
around it for a long time).
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Next message: Peter Petersen: "Re: ssh and subsequent telnet, encrypted?"
- Previous message: Darren Tucker: "Re: Secure SSH Version"
- In reply to: ion: "Cygwin ssh exits when I hit ctrl+c in a shell over a slow connection"
- Next in thread: ion: "Re: Cygwin ssh exits when I hit ctrl+c in a shell over a slow connection"
- Reply: ion: "Re: Cygwin ssh exits when I hit ctrl+c in a shell over a slow connection"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|