[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Getting password-cache.el to work with tramp
From: |
Ted Zlatanov |
Subject: |
Re: Getting password-cache.el to work with tramp |
Date: |
Thu, 06 Aug 2009 10:18:40 -0500 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux) |
On Thu, 06 Aug 2009 14:51:26 +0100 "N.Davis" <nd51@leicester.ac.uk> wrote:
ND> I'm running emacs 22.3.1 which comes with tramp. I want to be able
ND> to edit files on a number of machines without being repeatedly being
ND> asked for passwords, without necessarily having to use ssh keys. Tramp
ND> "out of the box" repeatedly asks for (forgets) passwords. It looked
ND> like downloading password-cache.el was a good idea to fix this,
ND> however, it doesn't seem to work.
ND> I put password-cache.el in the same directory as modes which are
ND> definitely picked up in the load-path.
ND> I added (setq password-cache-expiry nil) to .emacs.
ND> I also tried adding
ND> (setq password-cache t)
I use password-cache-expiry = 360000.
Also you may want to use Emacs 23.1 :)
23.1 has auth-source.el, which lets you have all your passwords in
~/.authinfo for Tramp, IMAP/POP/SMTP, HTTP, etc.
Ted