You are on page 1of 1

TRANSFERRING AND COPYING FILES OVER THE

NETWORK
Transferring Files with SCP:
SCP stands for secure copy and is a part of SSH suite. It allows you to transfer a file securely from one
server to another.

Example:
#: scp file1 root@hostname:/tmp
To copy file1 from current location to another server under the directory /tmp.

Connecting through sftp:


SFTP is installed as part of the SSH suite. It allows secure transfer of files as well as secure
authentication. Like SSH, SFTP also operates on the same port 22.
Example:
#: sftp hostname
Put file (To send file)
Get file ( To get file)

You might also like