What is SFTP
SFTP is the abbreviation for Secure File Transfer protocol, security File Transfer Protocol. You can provide a secure encryption method for transferring files.
Connection
Under Linux, enter directly into the terminal:
SFTP [email protected] IP (or remote host name)
When authentication occurs, a remote link can be achieved by simply filling in the correct password. Login success after the terminal rendered: Sftp>
Upload
Put/path/filename (Local Host)/path/filename (remote host)
Download
Get/path/filename (remote host)/path/filename (local host)
Local and Remote operation command differences
In the environment of the SFTP operation is similar to the general FTP operation, LS,RM,MKDIR,DIR,PWD, and other instructions are to operate on the remote, if you want to local operations, simply add ' l ' to the above instructions: LLS,LCD, LPWD, etc.
Using SFTP under Linux