tramp-devel
[Top][All Lists]
Advanced

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

Re: error found with latest (2.2.12) version on non Linux hosts


From: Patrick Schoenmakers
Subject: Re: error found with latest (2.2.12) version on non Linux hosts
Date: Tue, 2 Feb 2016 08:48:34 +0100 (CET)

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:address@hidden"

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

and connect throug a find-file
(find-file "/plink:address@hidden|sudo:address@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 :)



reply via email to

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