Secure Shell access (SSH)
You need to active the following option to use SSH as a webmaster on the FTP server
Enabling SSH for webmaster-user
To enable SSH for the webmaster-user, please login to the Cosmos Service Centre as webmaster. Select the domain name of the webmaster-user. Under the ‘Hosting’ tab select ‘Email-accounts’ in the bottom left-hand pane and click the pencil in front of the webmaster account. Set the Login Shell to ‘Shell Access’ using the drop down menu, and save. It make take a few minutes to completely process your changes, after which you will be able to connect through SSH using the following command in your terminal: ssh firstname.lastname@example.org@ftp.greenhost.nl
Login with SSH
Use your command-line tool of choice to login into the ftp-server with ssh. Use the following command, and replace the non Italic part with your domain name of your webmaster master account:
$ ssh email@example.com@ftp.greenhost.nl
Use an enter to activate this commant. You’re now asked for your password, this is the same one as the webmaster password you use to login into the Cosmos Service Center.
Standard login credentials:
Inlogname: your webmaster-account (‘firstname.lastname@example.org’)
SSh activating for your webmaster account can be done via the account configuration in the Cosmos Service Center.
What are SSH keys?
SSH keys are some kind of public key system where a key pair is used that consists in a public key and a private key. You can upload the public key to your hosting package and after that you can login there with your private key.
This can be understood as a key and a lock, which are then the private key and the public key respectively. You place the lock (public key) on that which you want to secure, in this case your hosting package, and subsequently you have access with your key (private key).
In addition to support of SSH keys by all SSH programs, some FTP programs support SSH keys as well, such as Filezilla.
Managing SSH keys
Before you can upload an SSH key, first you or the one who wants access needs to generate an SSH keypair. How to do this exactly depends on your operating system. With an internet search online many easy-reference manuals can be found.
To manage SSH keys you can go in the Service Centre to Hosting and then to SSH keys. On the page you see an overview of all SSH keys that have access to your hosting package.
- Adding an SSH key: click on ‘Add SSH key’, paste the SSH key in the field Public Key and click on ‘Create’
- Removing an SSH key: click on the rubbish bin for the particular SSH key
Modifying an SSH-key
An SSH key cannot be modified. So if an SSH key does need to be modified, the old one should be removed and the new one should be uploaded.