* Getting password-cache.el to work with tramp
@ 2009-08-06 13:51 N.Davis
2009-08-06 15:18 ` Ted Zlatanov
0 siblings, 1 reply; 4+ messages in thread
From: N.Davis @ 2009-08-06 13:51 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
I'm running emacs 22.3.1 which comes with tramp. I want to be able to
edit files on a number of machines without being repeatedly being
asked for passwords, without necessarily having to use ssh keys. Tramp
"out of the box" repeatedly asks for (forgets) passwords. It looked like
downloading password-cache.el was a good idea to fix this, however, it
doesn't seem to work.
I put password-cache.el in the same directory as modes which are
definitely picked up in the load-path.
I added (setq password-cache-expiry nil) to .emacs.
I also tried adding
(setq password-cache t)
I tried requring it and explicitly loading it too.
However, on starting emacs and trying to access remote files, it still
repeatedly asks for passwords.
I have very little experience with including other .el files for emacs.
Is there something elementary/stupid I've failed to do here or does
anyone have any pointers?
Thanks a lot,
Nick
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Getting password-cache.el to work with tramp
2009-08-06 13:51 Getting password-cache.el to work with tramp N.Davis
@ 2009-08-06 15:18 ` Ted Zlatanov
2009-08-07 14:10 ` N.Davis
0 siblings, 1 reply; 4+ messages in thread
From: Ted Zlatanov @ 2009-08-06 15:18 UTC (permalink / raw)
To: help-gnu-emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-08-07 15:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-06 13:51 Getting password-cache.el to work with tramp N.Davis
2009-08-06 15:18 ` Ted Zlatanov
2009-08-07 14:10 ` N.Davis
2009-08-07 15:31 ` Michael Albinus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).