SSH is a secure networking protocol, that one can use in Emacs (with TrampMode) or apply in their work in Emacs (like when using VersionControl over SSH). For some Windows-specific suggestions, see also SshWithNTEmacs.
I run KDE on Gentoo and in my terminal windows I use keychain to make sure I only have to enter my passphrase once. On the other hand, when I try to do ssh-related things in Emacs I have to constantly re-enter my passphrase. This is because I start Emacs from the ‘dock’ or menu. What I’d like to do is run Emacs ‘under’ ssh-keychain, so that I don’t continuously need to keep entering my passphrase. I know I could probably modify my .xinitrc to start keychain there, but I’m not sure how well that would work since I start kde from kdm. Any suggestions on how to do this, aside from just starting emacs from a konsole window?
Hello i am trying to work with a source from a remote cvs. I want to use vc or pcl-cvs, the problem is when emacs do the acces via ssh to remote server, emacs open the buffer vm and ask for the password. I don’t know what is the next step, i think is related with ssh-askpass.
ssh-agentbefore starting Emacs, and Emacs can read
envin eshell). However,
emacs -Qasks me the password two times for two consecutive
C-x v d. A
psshows the call hierarchy
emacs→cvs→cvs→ssh→ssh-askpass. That last process has the expected environment variables (confirmed through
cat /proc/15228/environ). So I don’t know what is failing here or what else to test. – DanielClemente
If you’ll be connecting to a remote shell over a slow internet connection, there’s the mosh project . Along with its state synchronisation protocol, it allows for fast local responsiveness, and it supports roaming - making it a great drop-in replacement for ssh (and thus a practical possibility to connect to a remote host over a slow internet connection). Does anyone else think it would be a good idea  to implement a Emacs mosh client, or to enhance it with functionality to collaborate with fast interactive responsiveness?