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).
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-agent before starting Emacs, and Emacs can read SSH_AUTH_SOCK and SSH_AGENT_PID (confirmed through env in eshell). However, emacs -Q asks me the password two times for two consecutive C-x v d. A ps shows 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