Link Search Menu Expand Document

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.html
  • 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