From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#20246: 25.0.50; Tramp does not show correct error message when ssh refuses to connect to host due to changed host key Date: Mon, 24 Jan 2022 17:12:59 +0100 Message-ID: <87ilu95cz8.fsf@gnus.org> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9914"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 20246@debbugs.gnu.org To: Filipp Gunbin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jan 24 17:14:16 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nC1yy-0002Oe-19 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Jan 2022 17:14:16 +0100 Original-Received: from localhost ([::1]:33302 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nC1yw-0000wi-K8 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 24 Jan 2022 11:14:14 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nC1yk-0000sk-KE for bug-gnu-emacs@gnu.org; Mon, 24 Jan 2022 11:14:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52552) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nC1yk-0006KD-Ak for bug-gnu-emacs@gnu.org; Mon, 24 Jan 2022 11:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nC1yk-0005qO-3h for bug-gnu-emacs@gnu.org; Mon, 24 Jan 2022 11:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Jan 2022 16:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20246 X-GNU-PR-Package: emacs Original-Received: via spool by 20246-submit@debbugs.gnu.org id=B20246.164304079222373 (code B ref 20246); Mon, 24 Jan 2022 16:14:02 +0000 Original-Received: (at 20246) by debbugs.gnu.org; 24 Jan 2022 16:13:12 +0000 Original-Received: from localhost ([127.0.0.1]:45452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC1xv-0005on-R1 for submit@debbugs.gnu.org; Mon, 24 Jan 2022 11:13:12 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:52684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nC1xu-0005oO-QQ for 20246@debbugs.gnu.org; Mon, 24 Jan 2022 11:13:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=6VRrtiLmQWQTbNhnU0FDrq2Bc0SpdSWrzn5B9PMJTSY=; b=bVvnJ4Wd1yg3SncxUAstmx1aUg Mm9GDNp3wbpRwN/lqydU477cR2R+5++8SkAxEKOn6eyYhnB+iJKvGQTjgqVhCzsUTa1q6xs6PSGkz gt/R+YsLEjsALlOZB58eNFdDDnU76EjD4RFBX8mJQIK5WZ922TDdRa2k8BwqpY5jAXtU=; Original-Received: from [84.212.220.105] (helo=giant) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nC1xm-0000uP-22; Mon, 24 Jan 2022 17:13:04 +0100 X-Now-Playing: New Order's _Brotherhood_: "State of the Nation" In-Reply-To: (Filipp Gunbin's message of "Thu, 02 Apr 2015 17:10:03 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:225068 Archived-At: Filipp Gunbin writes: > When I try to connect to a host and that host's key differs from what I > have in ~/.ssh/known_hosts Tramp does not handle that correctly. > > SSH suspects an attack, but in my case it is not. > > I suppose Tramp could show the full error message emitted by ssh. (I'm going through old bug reports that unfortunately weren't resolved at the time.) I tried reproducing this under "emacs -Q" with Emacs 28/29, but Tramp pops up the full ssh message buffer, so I don't seem to be able to reproduce the problem. Are you still seeing the problem in recent Emacs versions? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no