From: Michael Albinus <address@hidden>
To: "emacs user" <address@hidden>
CC: address@hidden
Subject: Re: tramp (2.1.1-pre); scp asking for password more than once
Date: Wed, 30 Jun 2004 09:18:32 +0200
"emacs user" <address@hidden> writes:
Hi emacs user,
hope you get this email.
> I connect using /scp: method to some linux machine from cygwin, using
> latest tramp from CVS and emacs 21.2.
>
> am asked for password and provide it, can list directory contents.
>
> when trying to actually copy a file using "C" in dired showing remote
> system, I am prompts again for password. this seems unnecessary as
> password was already provided once.
You should tune password-cache-expiry. According to your settings, a
password expires after 16sec (the default):
> password-cache t
> password-cache-expiry 16
See Tramp manual, section "Password caching", for details.
Best regards, Michael.