Avoid exiting ssh shell with Ctrl-C

Andrea Venturoli ml at netfence.it
Mon May 16 10:07:24 UTC 2016


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)?

  bye & Thanks
	av.


More information about the freebsd-questions mailing list