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
scpUses scp for copying, ssh for shell operations.sshUses ssh with encoding on stdin/stdout for file transfer.
PuTTY
pscpUses pscp for copying, plink for shell operations.plinkUses plink with encoding on stdin/stdout for file transfer.