howtos » scp Usage
scp Usage
Secure File Copy (scp) allows you to copy files between hosts using the SSH protocol.
To copy from a remote host to your current host
PERL:
-
scp -r user@remotehost:path/to/remotefiles localtarget
-
-
#-r recursive copy
-
#you will be prompted for user's password @ remotehost
To copy files from your current host across to the remote host
PERL:
-
scp -r localfiles user@remotehost:path/to/remotetarget
Leave a comment