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

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

Re: TRAMP password caching


From: Michael Mauger
Subject: Re: TRAMP password caching
Date: Fri, 1 Dec 2006 10:31:11 -0800 (PST)


Chris Moore-3 wrote:
> 
> Richard Stallman <address@hidden> writes:
> 
>> Why does the situation with caching vary between ssh and scp?
>> Why can't the scp method do whatever the ssh method does
>> for passwords?
> 
> I imagine because an ssh connection is persistant - once connected via
> ssh, multiple commands can be sent on a single connection, whereas scp
> makes a new connection for each copy.
> 
>> What about if you use ssh-agent?  Does that solve the problem?
> 
> ssh-agent solves the problem.
> 
> So does using these 2 lines:
>   ControlMaster auto
>   ControlPath /tmp/address@hidden:%p
> in ~/.ssh/config, and having an existing ssh connection to the remote
> host.  Then 'scp' will reuse the existing ssh connection and not
> need the user to specify a password.
> 
> 

One difficulty on W32: Cygwin's openSSH does not support the ControlMaster
feature and PuTTY has no equivalent feature.  I've got OS password-only
access to my commonly used hosts (no public key because its a shared
account).  Without the connection sharing I stick to SSH-based file transfer
and skip the faster SCP to avoid having to retype the password 30-40 tmes a
day.  
-- 
View this message in context: 
http://www.nabble.com/TRAMP-password-caching-tf2726239.html#a7642745
Sent from the Emacs - Pretest - Bug mailing list archive at Nabble.com.





reply via email to

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