emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TRAMP password caching


From: Chris Moore
Subject: Re: TRAMP password caching
Date: Mon, 04 Dec 2006 21:09:47 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

> What is the issue here, and how does one see it in tramp.el?  (I
> didn't follow this thread, sorry.)

When using 'scp' instead of 'ssh' for tramp transfers, you are
prompted for your password when you connect, each time you visit a
file, and each time you write a buffer back to the remote host.

There is a 'password.el' file which can cache the password.  It's a
part of both tramp and gnus, but in newer versions than are in Emacs.

To see it in tramp, visit:

  /scp:localhost:/tmp/

(with an sshd running on your local machine, and without ssh-agent,
ControlMaster or any other means of skipping password entry).  Try
visiting a file and saving it back.

Try again with /ssh: instead of /scp: and see how it only prompts for
the password once.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]