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
- Using SSH Key (a.k.a Password-less Login)
- 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).
Navigate to your profile and paste this key.
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.
Then toggle, the FTP settings and you will see a username and IP address to connect.
Copy all the details and open FileZilla (or any other FTP client).
Enable SSH
Enabling SSH access is very similar to FTP, in the same modal box, go to SSH tab and 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]
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].
Updated about 2 months ago