"Windl, Ulrich" <u.wi...@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.