To access a server with SSH, a ssh key pair (private/public key) will need to be generated on the host from which the SSH connection is established. An already existing pair can also be used. Windows, Linux and MacOS support the command ssh-keygen in their corresponding terminals for this purpose. To see the public part of the key you can usually run cat .ssh/id_rsa.pub on Linux and MacOS or cat .\.ssh\id_rsa.pub on Windows (from PowerShell).
The next step is to add the public key (NOT the private key) to the organization associated with the Bunnyshell account. The same key can be added to multiple organizations.
Note: The private key must remain on the local machine on which the key pair was generated. The private key must NOT be uploaded to the Bunnyshell account.
1. Click the organisation button on the bottom left of the page and select the organisation where you want to add the key. After you selected the organisation click on Settings
2. Go to the SSH Keys tab where you see any existing keys and can also add a new one.
3. Click the Add new key button
4. Choose between public or private RSA key type (you probably want to add your public key), add a name, and copy the key itself in the Public/Private RSA key box. Note that the keys must be in pem format in order to be accepted.
Example of such a key:
5. Click the Create button
To access a server via SSH:
1. Go to the Virtual Machines page, select the server you wish to add the key to and find the Access tab.
2. There you can add any existing public SSH keys to the server and you can also add new users.
Note: since you will probably want to restart services and edit configuration files, make sure you tick Root privileges as well if you create a new usre.
3. Each user can be associated with one or more SSH keys that can be added by clicking on the Authorized ssh keys box.
4. After the key is added, hit the Deploy changes button.
5. Use the user corresponding to your SSH key and the server's public IP address for the SSH connection.
After you add your public key, please make sure your firewall settings allow for the SSH connection:
1. Go to the Security tab on your server page
2. Use + to add a new rule
3. In the Service box select SSH
4. In the Source field select My IP (or leave CIDR block and add the public IP from which you want to establish the SSH connection followed by /32)
5. Give a Name to the new rule
6. Hit Deploy changes