Link Search Menu Expand Document

SFTP - SSH File Transfer Protocol

Table of contents

Using SFTP

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 directory put -r folder
  • Remote » Local: get index.html

FileZilla setup & connect

  1. Copy the key from ~/.ssh/id_rsa in local PC, ~/.ssh is hidden folder.
  2. Go to FileZilla Setting > SFTP > Add key file > Paste key here.
  3. File > Site Manager
  4. Run as root
  5. SFTP > IP + port 22 + interactive