From owner-freebsd-questions@freebsd.org Mon May 16 10:16:56 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 B6F73B3C4D3 for ; Mon, 16 May 2016 10:16:56 +0000 (UTC) (envelope-from vsasjason@gmail.com) 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 9748F145A for ; Mon, 16 May 2016 10:16:56 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 928E6B3C4D2; Mon, 16 May 2016 10:16:56 +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 922C9B3C4D0 for ; Mon, 16 May 2016 10:16:56 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: from mail-wm0-x22d.google.com (mail-wm0-x22d.google.com [IPv6:2a00:1450:400c:c09::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2B16F1457 for ; Mon, 16 May 2016 10:16:56 +0000 (UTC) (envelope-from vsasjason@gmail.com) Received: by mail-wm0-x22d.google.com with SMTP id a17so128115359wme.0 for ; Mon, 16 May 2016 03:16:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=Nz3pe38XA0BZpn6cMy6njuNRtUfBQ2gh76UhRaLYqpo=; b=XSErZUWKhxIDCscvzd5a4TD89DN6OWqTHAkRndbPYoFsi7mH+eHzc9vjyHchqp04RE RrkazeHWEH2rGK8QVBKVzSFvIOF+dkBkMolNXmREB9Ou//ihTbpzPSNPnoSLRwXHsMAE ESzxjYOF8sTrF6t3aKM+qyh15Vpv8DjN6CkhNZsJ3S+O6K+YUikRv3xfy0TzBEdHwsYL 9UTDAS6NymodESzuJJ6KJ03kQiFoAtNDMspvvhuUc7HoPXscWzgJHu+UIuo1Nd1K7rE1 171y8QCtlLRbZ0axABEKvQzhWNZ0XegXtLULTMYh4FnLgy9CrLs5utrgkmruQqVuLgAW oW5w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=Nz3pe38XA0BZpn6cMy6njuNRtUfBQ2gh76UhRaLYqpo=; b=SFuilQ42W34uiGV4gdMjr84lU9LQqG+tn0TBvv8q0XJGkjd9nAX+2BtJDI3orFedEH q//fv/TbtKDogasaCj+3M8duOe7V81lIYZChTUBPWovetj4HpVZidS6Nfxd/poFqVUVi aB1QAMsrjO8jNSFhAnevVmkUR7W/TeSy3wAIXvEH1nbUAK65FGY8bvWubC9n8wMpnX2u eg/YJinH4NGuX7kIyrN0c3endCd5yyG+rCp32AdPRP7XNTmzQYI4zPZAGzIJZoElcv1J adxxGYd8ILnJCJRyvGMfC8KBMWZxBNQKbzWimecJZgiq6GWThR+7eDX8J1bigRnnyuds rSCQ== X-Gm-Message-State: AOPr4FWPM0Em6pZ+YcBmjDFsSpOc6Yww23jOB22Os0f+QNvs5oNXgmnZhQoTHch2Q1UOgrVu8UENX5WCUP0daA== MIME-Version: 1.0 X-Received: by 10.194.115.39 with SMTP id jl7mr31904324wjb.81.1463393814698; Mon, 16 May 2016 03:16:54 -0700 (PDT) Received: by 10.194.157.201 with HTTP; Mon, 16 May 2016 03:16:54 -0700 (PDT) Received: by 10.194.157.201 with HTTP; Mon, 16 May 2016 03:16:54 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 May 2016 13:16:54 +0300 Message-ID: Subject: Re: Avoid exiting ssh shell with Ctrl-C From: Anton Sayetsky To: Andrea Venturoli Cc: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.22 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:16:56 -0000 16 =D0=BC=D0=B0=D1=8F 2016 =D0=B3. 13:07 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0= =BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Andrea Venturoli" =D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB: > > 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=3D208132