[wellylug] Ssh cp question

Lyndsay Mountfort lyndsaym at paradise.net.nz
Fri Jun 13 18:42:44 NZST 2003


Andrew Presant wrote:

>Basic question for you:
>
>I'm trying to figure out how to copy a file/directory from one box to
>another.
>I understand cp /path/to/file /path/to/destination but how do you do it
>across a network with ssh?
>
the command is scp

scp [username at origin-ip-or-network-name:]/path/to/file 
[username at destination-ip-or-network-name:]/path/to/destination

username and ip or network name is not required for localhost.

Lyndsay

>
>Cheers
>Andrew
>--  
>zrx1100 at paradise.net.nz
>http://203.79.119.197/index.html
>
>
>  
>






More information about the wellylug mailing list