GNU bug report logs - #20246
25.0.50; Tramp does not show correct error message when ssh refuses to connect to host due to changed host key

Previous Next

Package: emacs;

Reported by: Filipp Gunbin <fgunbin <at> fastmail.fm>

Date: Thu, 2 Apr 2015 14:11:01 UTC

Severity: normal

Tags: moreinfo

Found in version 25.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 20246 <at> debbugs.gnu.org (full text, mbox):

From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 20246 <at> debbugs.gnu.org
Subject: Re: 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: Thu, 09 Apr 2015 23:07:00 +0300
On 03/04/2015 12:05 +0200, Michael Albinus wrote:

> Usually, Tramp shows the connection buffer in this error case,
> containing all these messages. Doesn't it happen for you?
>
> It shows this buffer for 30 seconds, or until you hit a key.

That's what I can reproduce now:

- change host identity in ~/.ssh/known-host
- M-x tramp-cleanup-all-connections
- C-x 4 r /ssh:user <at> host:/file

Now, Tramp shows correct error message from ssh.

- now, quit it with C-]
- again C-x 4 r (as above)

Now Tramp shows in the echo area: "/ssh:user <at> host:/file does not exist"

This is the behavior which takes place if the above steps are done
rather quickly.

If I take a pause before retrying to visit a file, ssh error message is
shown correctly.

Maybe this is not the same problem I had originally, but that's what
I'm able to reproduce right now.

Filipp




This bug report was last modified 3 years and 147 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.