Connect with SSH
How to set up an SSH connection to your Simply.com webhosting: generate keys, upload the public key in the control panel and log in via ssh.simply.com.
You can easily connect via SSH to your web hosting, directly through our Control Panel. This is done under the menu item “Website” → “SSH access” in our Control Panel.
Connect with your own SSH client
To connect via SSH from your own computer to a Simply.com web hosting, you need to add a public key to the hosting.
Generate public & private keys
If you do not already have an SSH key pair, you can generate one with the Linux command
ssh-keygen -t rsa
This will generate both a private and a public key on your computer.
Your public key will be in the file “id_rsa.pub”, and your private key will be in the file “id_rsa”.
You can also use the Windows programme PuTTYgen.
Upload public key
When you have your public key, go to the Simply.com Control Panel, and under the individual product, from the “Website” menu, select the “SSH access” item. Here you can add your public SSH key. Once this is done you can connect via SSH to your web hosting.
Connect via SSH
You need to connect via SSH to ssh.simply.com, using the same username as for, for example, FTP. To be able to log in with SSH, you must have uploaded a public key.
Connect with PuTTY (Windows)
If you want to connect with PuTTY you can use Pageant to supply your private key when you connect.
Error messages during login
Error: Permission denied (publickey)
This error occurs when you do not send your private key during login. Check the configuration of your SSH client. Make sure you send the key.
Error: No hostkey for host
This means that your SSH client is missing the server’s host key in known_hosts. Add it with:
ssh-keyscan -t rsa,ecdsa,ed25519 ssh.simply.com >> ~/.ssh/known_hosts
SSH‑key‑forwarding
SSH‑key‑forwarding (agent forwarding) is not supported on Simply.com servers. If you need to make SSH connections from your web server to other servers, you should use alternative methods, such as placing a dedicated key on the server.
Article from the support category: PHP