Richard Stallman <[EMAIL PROTECTED]> 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/[EMAIL PROTECTED]:%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.


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to