There are multiple ways in which you can connect via SSH to your machine and in this article, we will explore the different possibilities.
Bunnyshell uses exclusively SSH key authentication. This means that we do not store or have access to any passwords that can be used to SSH into a server irrespective of the cloud provider you are using.
An SSH key is composed of two parts:
the public key (this can be shared)
the private key (this should generally not be shared with anyone)
To connect to a server via SSH, a public key needs to be already added to that server. Bunnyshell creates an SSH key for you by default and uses it on the machines that are created via the platform.
How to use the SSH key that was already created for you
This is usually the simplest method since the default key will be added to the new VM.
if you use Windows proceed to the following article
if you are using Mac or Linux then proceed to the following article
What if I want to use my own SSH keys
We assume at this point that you know how to use ssh-keygen and that you already have the keys locally on your machine.
1. Go to the Virtual Machines page, select the VM you wish to add the key to and navigate to the Access tab.
2. Add your public SSH keys to the server under the bunnyshell user or create a new user for your purposes. This is done by clicking inside the Authorized ssh keys box and selecting the name of the key you uploaded.
Note: if you want to restart services and edit configuration files, make sure you tick Root privileges as well when creating a new user.
3. After the key is added, select Deploy changes.
Connect to the VM via SSH