Managing SSH Keys
Use an SSH key to connect to your instance. Add the public key to Arkane Cloud and keep the private key on your own machine.
Create an SSH key
On Linux and macOS, open a terminal. On Windows 10 or 11, open PowerShell. Then run:
ssh-keygen -t ed25519Choose where to save the key, or accept the default path. Then enter a passphrase when prompted.
With the default name, your keys are saved in:
Linux and macOS
~/.ssh/id_ed25519
~/.ssh/id_ed25519.pub
Windows
C:\Users\<you>\.ssh\id_ed25519
C:\Users\<you>\.ssh\id_ed25519.pub
To view your public key, run:
cat ~/.ssh/id_ed25519.pubAdd the key to Arkane Cloud
Open API Keys in the console, find SSH Keys, and paste your public key into the form. You can also add a new key while deploying your instance.
Save the key, then select it when deploying your instance. Never paste your private key into the console.
Use PuTTY on Windows (optional)
You only need this section if you connect with PuTTY. PuTTY uses its own private key format, .ppk, which you create with PuTTYgen. PuTTYgen can be included when installing PuTTY.

If you already created a key with ssh-keygen: open PuTTYgen, click Load, and select your private key, for example C:\Users\<you>\.ssh\id_ed25519. Then click Save private key to save it as a .ppk file. Your public key stays the same.
To create a new key in PuTTYgen: choose Ed25519 and click Generate. Follow the prompt to move your cursor over the grey area.

Enter a passphrase, then click Save private key and store the .ppk file somewhere safe. Copy the text from the Public key section and add it to Arkane Cloud.
Change keys on an existing instance
Connect to the instance and edit /root/.ssh/authorized_keys. Add each new public key on its own line, or remove keys you no longer need. Test a new key in a separate connection before removing your existing key.
Last updated