본문 바로가기
프로그램 개발(분석, 설계, 코딩, 배포)/100. 기타

How do I use Tramp to work in Emacs via SSH?

by 3604 2023. 12. 6.
728x90

출처: https://www.gnu.org/software/emacs/manual/html_node/efaq-w32/Tramp-ssh.html

How do I use Tramp to work in Emacs via SSH?

Tramp can use a number of protocols to connect to remote machines to read files and even run commands on those files remotely. A popular one is ssh. As well as Cygwin versions of openssh, you can use PuTTY’s command line plink program as the ssh client. The relevant methods to use in tramp-default-method or tramp-default-method-alist for these options are:

  • openssh
    • scp Uses scp for copying, ssh for shell operations.
    • ssh Uses ssh with encoding on stdin/stdout for file transfer.
  • PuTTY
    • pscp Uses pscp for copying, plink for shell operations.
    • plink Uses plink with encoding on stdin/stdout for file transfer
728x90