From: Michael Albinus <michael.albinus@gmx.de>
To: Michal <rabbit50@tenbit.pl>
Cc: emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: emacs 22 + tramp 2.0.55: password caching problem/question.
Date: Wed, 26 Mar 2008 15:04:59 +0100 [thread overview]
Message-ID: <nqskydpoms.fsf@alcatel-lucent.de> (raw)
In-Reply-To: <m2wsnpskyl.fsf@tenbit.pl> (rabbit50@tenbit.pl's message of "Wed, 26 Mar 2008 13:56:02 +0100")
Michal <rabbit50@tenbit.pl> writes:
> Hallo Group Members
Hi,
> in my ~/.emacs I set:
>
> (setq password-cache-expiry nil)
>
> I visit remote folder with:
> /scp:root@10.102.12.89:/etc
>
> then emacs asks for password.
>
> Since then everytime, when I visit remote directories I do not have to reenter password, but when I try to visit any remote regular file, it ALWAYS asks me for password.
That is OK. Tramp keeps a permanent ssh connection for retrieving
information about files. So you have to enter the password only
once. For copying a file, it opens a new subprocess for the respective
scp command, that's why you are asked about the pasword again.
> Also from "TRAMP version 2.0.55 User Manual" info manual I can read:
>
> Implementation Note: password caching is based on the package
> password.el in No Gnus. For the time being, it is activated only when
> this package is seen in the `load-path' while loading TRAMP. It will
> be activated mandatory once No Gnus has found its way into GNU Emacs.
>
> but I do not have password.el* file in my system.
This happened now with Emacs 23 (the development version of
Emacs). The file is renamed to password-cache.el.
> C-h v gnus-version:
> gnus-version is a variable defined in `gnus.el'.
> Its value is "Gnus v5.11"
No idea whether this Gnus version carries password.el.
> Both gnus and tramp packages used by me are ones provided with emacs 22.
>
> Did You experience such problems?
I would recommend you ssh-agent. If it is running, you need to enter
the passphrase of your local identity only once.
> regards,
> Michal
Best regards, Michael.
next prev parent reply other threads:[~2008-03-26 14:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-26 12:56 emacs 22 + tramp 2.0.55: password caching problem/question Michal
2008-03-26 14:04 ` Michael Albinus [this message]
2008-03-27 15:06 ` Michal
2008-03-26 14:13 ` Thierry Volpiatto
2008-03-26 14:44 ` Michal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=nqskydpoms.fsf@alcatel-lucent.de \
--to=michael.albinus@gmx.de \
--cc=help-gnu-emacs@gnu.org \
--cc=rabbit50@tenbit.pl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.