Reporting that the configuration method also works for multi-hops using sudo through putty plink

(add-to-list 'tramp-connection-properties
             (list (regexp-quote "/plink:address@hidden:")
                   “remote-shell” "/bin/ksh"))
(add-to-list 'tramp-connection-properties
             (list (regexp-quote "/plink:address@hidden:")
                   “remote-shell-login” '(“”)))

If you add 2 more "add-to-lists" with regexp-quote "sudo:address2@hidden"

(add-to-list 'tramp-connection-properties
             (list (regexp-quote "/sudo:address2@hidden:")
                   “remote-shell” "/bin/ksh"))
(add-to-list 'tramp-connection-properties
             (list (regexp-quote "/sudo:address2@hidden:")
                   “remote-shell-login” '(“”)))

and connect throug a find-file
(find-file "/plink:address@hidden|sudo:address2@hidden:~")

You get a dired directory listing from the address2 home directory under the address2 account to which you then can open a shell.

Nifty :)




_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to