10.4.4.4. Secure remote copying
The SSH suite provides scp as a secure
alternative to the rcp command that used to
be popular when only rsh existed. scp uses ssh for data
transfer, uses the same authentication and provides the same
security as ssh. Unlike rcp, scp will ask for
passwords or passphrases if they are needed for authentication:
lenny /var/tmp> scp Schedule.sdc.gz blob:/var/tmp/
lenny@blob's password:
Schedule.sdc.gz 100% |*****************************| 100 KB 00:00
lenny /var/tmp>
|
Any file name may contain a host and user specification to
indicate that the file is to be copied to/from that host. Copies
between two remote hosts are permitted. See the Info pages for more
information.
If you would rather use an FTP-like interface, use sftp:
lenny /var/tmp> sftp blob
Connecting to blob...
lenny@blob's password:
sftp> cd /var/tmp
sftp> get Sch*
Fetching /var/tmp/Schedule.sdc.gz to Schedule.sdc.gz
sftp> bye
lenny /var/tmp>
|
|
Secure copy or FTP
GUIs |
|
Don't feel comfortable with the command line yet? Try
Konqueror's capabilities for
secure remote copy, or install Putty.
|