|Main Archive Page > Month Archives > openssh-unix-dev archives|
Alex Bligh wrote:
>> Alex Bligh wrote:
>>> scp a@b:c d:
>>> fails, where
>>> scp a@b:c .
>>> scp c d:
>> The former copies from c to d while the latter first copies from c to .
>> and then from . to d.
> The former copies file 'c' from user 'a' at host 'b' to the current
> user at host 'd'.
Sorry, where I wrote c I meant to write b.
> What I am asking is why the former can succeed but the latter fail
What you asked before was the opposite. Which is it? :)
Does ssh a@b ssh d work?
Is the username on d also a, or is the username on d the same as on
the local machine?
openssh-unix-dev mailing list