Individual Cito sites have their own SSH account and credentials. To SSH into an individual Cito site, you can add a public key to it.
What about SFTP?SFTP uses the same port and authentication details as SSH. You can use your username, SSH key and the server’s IP to log into a site using your SFTP client of choice.
You can assign a key to more than one site, or add a ‘default’ key, that is assigned to all new sites, using the steps below.
Adding a new key
To add a new key, visit the SSH Keys link in the dashboard navigation bar. From here you can view, add and remove keys.
What key typesWe support rsa and ed25519 key types. Any other key type will be rejected.
Click ‘Add new managed key’ and a field will appear for you to paste in your Public key. We automatically populate the key name using the comment, but you can change this if desired.
For security reasons we require all newly added keys to be confirmed via email. When you add a new key we automatically email the following:
- The account owner
- Any contact added to the Prostack Portal. You can add a new contact by following this guide.
You will need to click the “Add Key” button to confirm.
Assigning keys to sites
Once a managed key has been added you can assign it to individual sites for access. You can do this via the Manage sites option for each key, or from the Settings page for a site, by clicking ‘SSH keys’.
This page will show you the keys assigned to a site. You can paste in a key to add it.
Once a key is added, it will appear in the list and will work for SSH access.
Default keys
Default keys are SSH keys that are automatically assigned to newly created sites. This is controlled by the “Assign to new sites” toggle on each key.
When a key is set as default, a notification will appear below it to indicate it will be automatically assigned to new sites.
Deleting keys
There are two ways to delete an SSH key from a site
-
You can remove individual keys from sites using the “SSH keys” section under ‘Site Settings’
-
You can also remove a key from the “SSH Keys” page, which deletes it from all sites at once.
What about the admin user?
The admin user has root privileges via the sudo command. For this reason, we do not allow it to be managed via the dashboard.
To amend admin keys you can modify authorized_keys via SSH or alternatively contact support for assistance.