tramp-devel
[Top][All Lists]
Advanced

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

Multihop SSH


From: Novak Boškov
Subject: Multihop SSH
Date: Fri, 28 Jan 2022 14:51:30 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

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



reply via email to

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