Emacs Config
init.el — EmacsEntrance
;; (setq explicit-shell-file-name “plink”)
;; (setq shell-file-name explicit-shell-file-name)
(add-to-list 'exec-path “path/to/PuTTY”)
或者
(setenv “PATH” (concat “/mingw64/bin:/usr/local/bin:/usr/bin:/bin:/mingw64/bin:/opt/bin:/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:path/to/PuTTY”
(getenv “PATH”)))
在其他的console(如msys或者cmd)中,使用plink root@192.168.0.1
登陆。
Emacs exec
M-x
shell
plink root@192.168.0.1
buffer : plink.exe Password:xxx
Save buffer
C-x C-s