Secure File Transfer Program. Interactive program to copy files between hosts over SSH. For non-interactive file transfers, see
scp
orrsync
. More information: https://manned.org/sftp.
sftp remote_user@remote_host
sftp -P remote_port remote_user@remote_host
~/.ssh/config
):sftp host
get /path/remote_file
put /path/local_file
put
too):get -R /path/remote_directory
lls
ls