linux poison RSS
linux poison Email

HowTo use scp and sftp commands

The scp command can be used to transfer files between machines over a secure, encrypted connection. It is similar to rcp. The general syntax to transfer a local file to a remote system is as follows:
scp username@hostname:/home/nikesh/log /tmp/log

The sftp utility can be used to open a secure, interactive FTP session. It is similar to ftp except that it uses a secure, encrypted connection. The general syntax is sftp username@hostname.com. Once authenticated, you can use a set of commands similar to those used by FTP


1 comments:

Post a Comment

Related Posts with Thumbnails