Avoid exiting ssh shell with Ctrl-C

Andrea Venturoli ml at netfence.it
Mon May 16 12:57:31 UTC 2016

On 05/16/16 12:16, Anton Sayetsky wrote:
> 16 мая 2016 г. 13:07 пользователь "Andrea Venturoli" <ml at netfence.it
> <mailto:ml at netfence.it>> написал:
>> Hello.
>> I believe this has started since I upgraded to 10.x (at least I don't
> remember it happening before...): if I ssh into any host, then press
> Ctrl-C, the ssh session terminates.
>> This is annoying, since I might press Ctrl-C to interrupt a process,
> but end up terminating the connection.
>> Is there any way to stop this (leaving only Ctrl-D to achieve such a
> thing)?
> 1. https://forums.freebsd.org/threads/53868/#post-308144
> 2. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208132

It took me a while to understand how to put all those things together...

In any case you suggest I apply
> https://svnweb.freebsd.org/base/stable/10/bin/csh/config_p.h?r1=297789&r2=297788&pathrev=297789

and just recompile csh?

I'd like to avoid moving to stable right now, since I'm in a hot period.

Any chanche we'll get an Errata and/or an MFC?


More information about the freebsd-questions mailing list