|
The syntax for using scp is nearly identical to the unix cp command:
cp location destination
scp location destination
The difference here is that you're probably working with remote machines, so you need to identify your account name, and the machine name. It will then offer you an ssh-encrypted password prompt.
scp location user@othermachine.com:destination (push)
scp user@othermachine.com:location destination (pull)
Optional Parameters
If your username is the same on both
systems, you don't need to include the username.
The '-r' parameter is used to copy
an entire directory, or you may use * to match on
multiple files/directories.
$Id: ssh-usage.html,v 1.7 2003/05/17 03:52:49 willn Exp $
|