tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [EXT] Re: Using tramp with public key authentication


From: Windl, Ulrich
Subject: RE: [EXT] Re: Using tramp with public key authentication
Date: Fri, 29 Nov 2024 05:18:45 +0000

Michael,

thanks. Obviously I did not realize that Emacs detected the problem as the 
Emacs status line still said something like "Waiting for prompts" (sorry I 
didn't capture that text).

Mit freundlichen Grüßen
Ulrich Windl

> -----Original Message-----
> From: Michael Albinus <michael.albinus@gmx.de>
> Sent: Thursday, November 28, 2024 8:04 PM
> To: Windl, Ulrich <u.windl@ukr.de>
> Cc: tramp-devel@gnu.org
> Subject: [EXT] Re: Using tramp with public key authentication
> 
> "Windl, Ulrich" <u.windl@ukr.de> writes:
> 
> > Hi!
> 
> Hi Ulrich,
> 
> > I just tried to use tramp in Emacs 24.3.1 (I know it’s old) for a host
> > that has public key authentication enabled.
> >
> > However since last use the host’s key has changed (actually it’s new
> > hardware and OS release), so the host key was rejected like this:
> 
> [...]
> 
> > Host key verification failed.^M
> 
> Tramp HAS detected the problem. See tramp-wrong-passwd-regexp, which
> contains this string.
> 
> > While this was displayed, Emacs said “Tramp: Waiting for prompts from
> > remote shell” (which would never come, of course)…
> 
> Tramp shows you the connection buffer with the full text, in order to
> let you know what happened. It waits for 30 seconds, then it
> diappears. If you hit the keyboard at this time (even a single cursor
> movement), the message disappears immediately.
> 
> > After some time the process had been aborted.
> >
> > My guess is that ssh process exiting without success can be detected
> > and handled.
> 
> The message has been improved. Meanwhile, Tramp says while showing the
> error buffer:
> 
> --8<---------------cut here---------------start------------->8---
> Tramp failed to connect.  If this happens repeatedly, try
>     ‘M-x tramp-cleanup-this-connection’
> --8<---------------cut here---------------end--------------->8---
> 
> > Kind regards,
> >
> > Ulrich
> 
> Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]