Novak Boškov <[email protected]> writes:

Hi Novak,

> I'm trying to do two-hop ssh over Tramp.
>
> `/ssh:me@myhost|ssh:me@myotherhost:/`
>
> And I'm getting
>
> `Passphrase for me@myotherhost:`
>
> I don't expect to be asked any passphrases as my public key from
> `myhost` is present in `myotherhost:~/.ssh/authorized_keys`. Outside
> Tramp, I don't need to enter any passphrases.

Thanks for the report. However,

> Here is my debug buffer (tramp-verbose set to 6):
>
> ;; Emacs: 27.2 Tramp: 2.4.5.27.2 -*- mode: outline; -*-
> 14:37:59.526303 tramp-get-remote-stat (5) # Finding a suitable ‘stat’
> command
> 14:37:59.526502 tramp-file-name-handler (5) # Non-essential received
> in operation (file-attributes /ssh:myhost|ssh:me@myotherhost: string)
> 14:37:59.530618 tramp-get-remote-stat (5) # Finding a suitable ‘stat’
> command
> 14:37:59.530780 tramp-file-name-handler (5) # Non-essential received
> in operation (file-attributes /ssh:myhost|ssh:me@myotherhost: integer)
> 14:37:59.532086 tramp-get-test-command (5) # Finding a suitable ‘test’
> command
> 14:37:59.532210 tramp-file-name-handler (5) # Non-essential received
> in operation (file-readable-p /ssh:myhost|ssh:me@myotherhost:)

This isn't a full debug buffer, by no means. Could you please call

--8<---------------cut here---------------start------------->8---
# emacs -Q --eval '(setq tramp-verbose 6)' '/ssh:me@myhost|ssh:me@myotherhost:/'
--8<---------------cut here---------------end--------------->8---

And then, if it fails, please send the complete debug buffer as attachment.

> Best,

Best regards, Michael.

Reply via email to