mitto
10-29-2006, 11:40 AM
scp - secure copy (remote file copy program)
scp copies files between hosts on a network. It uses ssh for data transfer, and uses the same authentication and provides the same security as ssh.
scp -r directory-name userid@hostname:directory-name2
To use the scp command to copy files between systems, use the following command:
scp file-name1 userid@host-name:file-name2
# scp -r ssl root@3xx.xx.xx.xx:/root/ssl/
root@xx.xx.xx.xx's password:
-p Preserves modification times, access times, and modes
from the original file.
-r Recursively copy entire directories.
-v Verbose mode.
scp copies files between hosts on a network. It uses ssh for data transfer, and uses the same authentication and provides the same security as ssh.
scp -r directory-name userid@hostname:directory-name2
To use the scp command to copy files between systems, use the following command:
scp file-name1 userid@host-name:file-name2
# scp -r ssl root@3xx.xx.xx.xx:/root/ssl/
root@xx.xx.xx.xx's password:
-p Preserves modification times, access times, and modes
from the original file.
-r Recursively copy entire directories.
-v Verbose mode.