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: Fri, 01 Dec 2006 10:57:56 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux)

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.




reply via email to

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