Secure Shell Access (SSH)

Your hosting data is accessible through Secure Shell (SSH). SSH access is disabled
for the webmaster account by default, but you can simply turn it on within the
Service Centre. Also, external developers can be given access by adding their
SSH key to the respective hosting package in the Cosmos Service Centre.

Contents

SSH access as webmaster

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 webmaster@yourdomain.com@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:

Terminal

1

$ ssh webmaster@yourdomain.com@ftp.greenhost.nl

Press enter to activate this command. You're now asked for your password, this
is the same one as the webmaster password you use to login into the Cosmos
Service Centre.

SSH keys for remote access

With SSH keys you can login on your hosting at ftp.greenhost.nl or
shell.greenhost.nl without any need of the password of the webmaster account. In
this way you can give a web developer or someone else access to your website
without having access to your Service Centre. You can add multiple SSH keys and
in this way give several people access to your hosting.

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.