How to Turn on/off SFTP/SSH Access for an Site

All Bolts set up have full access to the server, either over SSH or SFTP. We don’t restrict anything as long as you have a username, password, or authorisation keys. But you might not always want anyone to get into the server, so we have provided you with an option to completely shut access off.

To find these options, you must first navigate to the site in question and then to its settings. Under the Access section of your settings, you should see a drop-down menu under “SSH Access Type”. From there, you can choose to turn off SFTP/SSH access to the site by choosing the “No access” option. You also have the option only to allow access with “Public keys only”.

As shown in the image above, if I were to try to log into the server via SSH I would get “permission denied” now.

SSH permission denied

Other issues with “Permission denied (publickey)”

If you have the SSH Access option enabled and still get the "Permission denied (publickey)", then try to connect to your site like this:

ssh -oKexAlgorithms=diffie-hellman-group-exchange-sha256 user_19763@server-name

And as always, should you have any additional questions please don’t hesitate to contact our support chat at servebolt.com!