[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using tramp with public key authentication
From: |
Michael Albinus |
Subject: |
Re: Using tramp with public key authentication |
Date: |
Thu, 28 Nov 2024 20:03:54 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
"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.