SFTP - SSH File Transfer Protocol
Table of contents
Using SFTP
sftp [email protected]
For AWS, GCP, need to define with the SSH key location
sftp -i ~/.ssh/rsa.key [email protected]
How to execute
-
Go to the directory for the file location, both in local and remote server.
- Local » Remote:
put index.html
or for a directoryput -r folder
- Remote » Local:
get index.html
FileZilla setup & connect
- Copy the key from
~/.ssh/id_rsa
in local PC,~/.ssh
is hidden folder. - Go to FileZilla Setting > SFTP > Add key file > Paste key here.
- File > Site Manager
- Run as root
- SFTP > IP + port 22 + interactive