SFTP (Secure FTP, FTP secure)
Function: FTP file transfer system like, which runs over into an analog connection and SSH FTP interface.
Features: distal need to run an FTP server to transfer files, but you must install and run the OpenSSH server. SFTP is an interactive command provides a command prompt.
(1) file transfer command. For automated FTP session specific host, user and password, the command is the same.
cd / Home / slynux
PUT testfile.jpg
GET serverfile.jpg
Run sftp:
$ sftp the User @ DOMAINNAME
exit sftp session:
Enter quit command
(2) specify the port number in the other run
to specify the port number used -oPort sftp = PORTNO.
= 422 [email protected] sftp -oPort $
-oPort as the first parameter should sftp command.
From the "shell script Raiders II" Finishing