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