How to sftp via command line
Knowledge Base - How To
How to sftp via command line
To connect to a sftp server via command line, do
$ sftp sysftuser@sftp_server_ip sysftuser@sftp_server_ip's password:
put the password
Connected to sysftuser@sftp_server_ip. sftp>
type "dir" to show the list of available files/folders
sftp> dir README.txt
Download the file with "get name_of_file"
sftp> get README.txt Fetching README.txt to README.txt README.txt 100% 487 7.5KB/s 00:00 sftp>
the file will be downloaded in the folder the sftp connection has been launched from.