From: Andreas Gerler Date: Tue, 7 Jul 2015 12:12:02 +0000 (+0200) Subject: tramp: add ~/bin/ to remote-path and use method "sshx". X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=cd7c34edd007c5e392b9d1158d0c65ed3616dc6c;p=emacsconfig.git tramp: add ~/bin/ to remote-path and use method "sshx". Signed-off-by: Andreas Gerler --- diff --git a/bba.org b/bba.org index c4ca765b..dd91292a 100644 --- a/bba.org +++ b/bba.org @@ -965,7 +965,8 @@ You may start it at the end of the config file. #+BEGIN_SRC emacs-lisp (load-library "tramp") - (setq default-tramp-method "sftp") + (add-to-list 'tramp-remote-path "~/bin") + (setq default-tramp-method "sshx") #+END_SRC With this you can do /sudo:ssh-host:file-on-ssh-host