To connect via SSH, have your user password ready. You can also reset it, if needed, or use an SSH key. Then via your preferred SSH client, use the following settings:
- Hostname: your server name as listed under My servers (i.e. example.magemojo.com/kb)
- Port: 22
You should immediately connect if the user/password combination are correct. If you see a message such as:
ssh_exchange_identification: Connection closed by remote host
Assuming your IP is whitelisted, you can connect with credentials like the example below:then your IP is not correctly whitelisted.
Use the above credentials (filled in with your settings) in your SFTP client and connect. A successful connection should show a directory listing in your SFTP client.
I would like to use SSH keys, how do I do this?
Not a problem, keys can be managed via our panel, as well. First go to the System User section.
and select the appropriate user (or add a new one). Then near the bottom of the form click Show Advanced Options. You will see three separate boxes and an option to generate key pair.
Here you can –
- Generate a new keypair
- Import your own key
- Add authorized keys
Add or generate a key to the appropriate fields and hit Save to apply changes. Then you can connect using a key in your favorite SSH client.
If your IP is not whitelisted, you will not be able to connect to the SSH server/service at all! Double check that you have the correct IP in the whitelist for your server.