Passwords in Emacs tramp mode editing
I'm using emacs tramp mode to remotely edit files over ssh. The problem is that every time I save the file I'm editing I have to enter my user password. I find that very annoying. How can I write my password only once / editing session? Ah, from the tramp docs on password caching you can set: (setq password-cache-expiry nil) which requires the package password-cache.el . Also, in the tramp sources, it mentions reading the ssh-agent(1) man page, which shows how to set it up so that you don't have to re-enter passwords (inside, or outside of Emacs): There are two main ways to get an agent set up