 |
|
Remote file copy
Oracle Tips by Burleson Consulting |
To copy files or even entire directories to a remote host you
can use the scp (secure copy) command. The scp command
uses SSH1 for data transfer, providing SSH1 level security.
Don’t be the target of a security breach
The following example copies the file secret.dat from user
tclark’s home directory to a directory named /backup/tclark on
a server named backup_server logging in as user terry. As
indicated below, the scp command will prompt for the
password for user terry on the backup_server when the
connection is attempted.
scp /home/tclark/secret.dat
terry@backup_server:/backup/tclark
terry@backup_server's password:
secret.dat 100% 1011 27.6KB/s
00:00
The above book excerpt is from:
Easy Linux
Commands
Working Examples of Linux Command Syntax
ISBN:
0-9759135-0-6
Terry Clark