Re: scp?

From: Cylurian (fsromero@hotmail.com)
Date: 12/22/02


From: fsromero@hotmail.com (Cylurian)
Date: 21 Dec 2002 20:36:26 -0800

I use:

scp /path/file user@host:/path/.

that works for me.

slade@shore.net (Richard E. Silverman) wrote in message news:<m1ld6nviqhp.fsf@syrinx.oankali.net>...
> >>>>> "DM" == Dimitri Maziuk <dima@127.0.0.1> writes:
>
> DM> Hi all. I just noticed that
>
> DM> host1$ scp user@host2:/some/file user@host3:/some/file
>
> DM> fails whereas
>
> DM> host1$ scp user@host2:/some/file . host1$ scp ./file
> DM> user@host3:/some/file
>
> DM> works fine (OpenSSH 3.4).
>
> DM> Anyone knows if this is how it's supposed to work?
>
> Well, these two scenarios operate differently, so it's not surprising that
> one might work and the other fail. The first executes an scp command on
> host2 to copy the file from host2 directly to host3.