Control-c not work under openssh?
Gert Doering
gert at greenie.muc.de
Fri Aug 25 19:28:54 EST 2000
Hi,
On Fri, Aug 25, 2000 at 10:22:28AM +0100, John Horne wrote:
[...]
> Interesting. However, I start sshd via an /etc/init.d file and for testing
> connect to the system using a telnet session. Control-c works with telnet. I
> assume then that starting the sshd daemon from the telnet session (using the
> /etc/init.d file) will likewise have control-c working by default. However,
> using slogin to the system control-c still doesn't work. In that respect,
> your scenario would seem to be wrong (but see below before desparing...:-) )
Hmmm...
> > /* NEW: set ctrl-C signal to "default", which is "abort program" */
> > sinal( SIGINT, SIG_DFL );
> ^^^^^
> should be 'signal' :-)
Ooops :-)
> Yup, I put this in pty.c after line 261.
>
> I have tested this with Solaris 7 and Solaris 8 (on sparc systems) and it
> works fine :-) :-) I also used the new snapshot (openssh-SNAP-20000823) for
> the tests, so hopefully it could be included for the next release.
Great! I think this is what makes Open Software so great - someone will
observe something, and suddenly an "ever-lasting problem" is easily solved
by somebody else :-)
> Many thanks to both Garrick James and Gert Doering for what seems to be a
> fix for this annoying problem!
My pleasure.
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert at greenie.muc.de
fax: +49-89-35655025 gert.doering at physik.tu-muenchen.de
More information about the openssh-unix-dev
mailing list