SCP where does the file xfer to?

LLeweLLyn Reese llewelly at lifesupport.shutdown.com
Wed Jul 30 07:11:15 PDT 2003


DanB <longterm at chatusa.com> writes:

> SCP where does the file xfer to?         scp   file.tar.gz
> longterm at chatusa.com

It's not enough to just give a username and a machine name. You need
    tell scp *where* on the remote machine you want the file put:

$ scp file.tar.gz longterm at chatusa.com:.

The colon (':') seperates the hostname from the file path. If the
    colon isn't there, scp won't recognize the 2nd parameter as a
    target on a remote machine.




More information about the freebsd-questions mailing list