From owner-freebsd-questions@freebsd.org Mon May 16 10:07:24 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 93817B3C0B6 for ; Mon, 16 May 2016 10:07:24 +0000 (UTC) (envelope-from ml@netfence.it) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 7FC411FDC for ; Mon, 16 May 2016 10:07:24 +0000 (UTC) (envelope-from ml@netfence.it) Received: by mailman.ysv.freebsd.org (Postfix) id 7F042B3C0B5; Mon, 16 May 2016 10:07:24 +0000 (UTC) Delivered-To: questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7EA57B3C0B4 for ; Mon, 16 May 2016 10:07:24 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp205.alice.it (smtp205.alice.it [82.57.200.101]) by mx1.freebsd.org (Postfix) with ESMTP id 1668A1FDB for ; Mon, 16 May 2016 10:07:23 +0000 (UTC) (envelope-from ml@netfence.it) Received: from soth.ventu (79.42.58.185) by smtp205.alice.it (8.6.060.28) (authenticated as acanedi@alice.it) id 572625A0048F4FFD for questions@freebsd.org; Mon, 16 May 2016 12:07:15 +0200 Received: from guardian.ventu (bane.local.netfence.it [10.1.2.15] (may be forged)) (authenticated bits=0) by soth.ventu (8.15.2/8.15.2) with ESMTPSA id u4GA7CtE018660 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for ; Mon, 16 May 2016 12:07:12 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: soth.ventu: Host bane.local.netfence.it [10.1.2.15] (may be forged) claimed to be guardian.ventu To: questions@freebsd.org From: Andrea Venturoli Subject: Avoid exiting ssh shell with Ctrl-C Message-ID: Date: Mon, 16 May 2016 12:07:12 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 on 10.1.2.13 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 May 2016 10:07:24 -0000 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.