Avoid exiting ssh shell with Ctrl-C

Anton Sayetsky vsasjason at gmail.com
Mon May 16 10:16:56 UTC 2016


16 мая 2016 г. 13:07 пользователь "Andrea Venturoli" <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


More information about the freebsd-questions mailing list