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.
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:)
Additionally, `/ssh:myhost:/` works fine. The issue appears to be in the
second hop.
Best,
--
Novak