The syntax for `SFTP` command in Linux
sftp username@ip_address/hostname
Here,
sftp: It is a utility used for connecting ftp servers securely.
username: Mention the username for connecting to ftp server.
ip_address/hostname: Mention the IP address of the remote server or machine name.
Linux sftp command with Example
In this article, we are going discuss about sftp. It is a protocol for securely transferring files from a remote server to a local machine. before SFTP, FTP was used to transfer files but it was unsecured. An attacker can read the communication between a remote server and a local machine.