all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* 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

* Re: Getting password-cache.el to work with tramp
  2009-08-06 15:18 ` Ted Zlatanov
@ 2009-08-07 14:10   ` N.Davis
  2009-08-07 15:31     ` Michael Albinus
  0 siblings, 1 reply; 4+ messages in thread
From: N.Davis @ 2009-08-07 14:10 UTC (permalink / raw)
  To: help-gnu-emacs

Ted Zlatanov wrote:
>
> 
> I use password-cache-expiry = 360000.

Thanks for the reply, Ted. I tried this but it didn't help. :(
> 
> Also you may want to use Emacs 23.1 :)

Not sure if I can, due to dependencies, but I will try.

Regards,
Nick


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Getting password-cache.el to work with tramp
  2009-08-07 14:10   ` N.Davis
@ 2009-08-07 15:31     ` Michael Albinus
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Albinus @ 2009-08-07 15:31 UTC (permalink / raw)
  To: N.Davis; +Cc: help-gnu-emacs@gnu.org

"N.Davis" <nd51@leicester.ac.uk> writes:

>> Also you may want to use Emacs 23.1 :)
>
> Not sure if I can, due to dependencies, but I will try.

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20070113 Debian/1.7.8-1sarge10

You seem to run Debian. There were some announcements recently, see
<http://thread.gmane.org/gmane.linux.debian.devel.emacsen/2530>.

> Regards,
> Nick

Best regards, Michael.




^ 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.