Hi,
I installed pssh, and I love it. It save a lot of time with my lot of remote amazon servers ...
Since I installed it, I runned into problem on my emacs installation. Every time I open a remote file M-x find-file /remoteAmazonServer:/home/ubuntu, emacs complains about :
exec: 1: plink: not found
Process *tramp/pscp remoteAmazonServer* exited abnormally with code 2
After googling this error, I found that this plink is a putty tool ... but I am under linux, why emacs tries to use this §§§??§
I found the answer in tramp.el emacs lisp :
(defcustom tramp-default-method
....
(cond
;; PuTTY is installed.
((executable-find "pscp")
(if (or (fboundp 'password-read)
(fboundp 'auth-source-user-or-password)
;; Pageant is running.
(tramp-compat-process-running-p "Pageant"))
"pscp"
"plink"))
;; There is an ssh installation.
((executable-find "scp")
(if (or (fboundp 'password-read)
(fboundp 'auth-source-user-or-password)
Which can be translated as If I find the executable pscp, then I think I am under a putty installation and I have to use plink.
pscp cames with pssh, not putty under my linux installation.
1. Either I change the name of pscp executable => which could impact you package
2. Or I change the tramp.el to prefer ssh over pscp => which impact emacs package
3. Or I always specify the protocol tramp has to use : M-x find-file /scp:remoteAmazonServer:/home/ubuntu => which impact my day to day work.
I hope this help some people.
(NOTE : for my personal need, as I don't use pscp from pssh, I rename the executable)