SSH & SFTP

It is possible to enable SSH or SFTP access for a site.

📘

Pro Feature

Accessing FTP & SSH is a pro feature.

You may access SFTP or SSH using two ways

  1. Using SSH Key (a.k.a Password-less Login)
  2. Using Username / Password combination.

Using SSH Key (password-less login)

Copy your ssh key from ~/.ssh/id_rsa.pub file from your local machine.

📘

SSH Key

If you don't have a ssh key, you can generate one. To learn more about it, check this guide from Oracle or this one for Windows machines (using putty).

ssh key copy

Navigate to your profile and paste this key.

ssh key paste

Enable SFTP

Once your key is setup in the profile, you can enable FTP and SSH depending on which plan you are on.

To enable SFTP access, open the "Access FTP/SSH" dropdown for the site.

menu sftp/ssh

Then toggle, the FTP settings and you will see a username and IP address to connect.

enable ftp

Copy all the details and open FileZilla (or any other FTP client).

file zilla settings

Enable SSH

Enabling SSH access is very similar to FTP, in the same modal box, go to SSH tab and enable SSH.

enable ssh

You will see the same username and IP address (as you did in the FTP step). Copy these details and open your SSH terminal.

Enter the following command to connect via SSH

ssh [email protected]

ssh terminal

📘

Guide for Windows User

Follow this guide if you are using Windows https://instawp.com/accessing-sftp-ssh-on-instawp/

Using Username & Password combination

This option is straight forward, when enabling for the first time, you will be asked if you want to continue without SSH key.

[ask ssh key]

At this point, you can enable SFTP and/or SSH (based on your subscription plan) using the modal box as shown below. Click on "Reveal Password" to get the password to access the SFTP/SSH service.

[sftp reveal password].