Setting Up SSH Key Authentication in WhaleDeck: A Complete Guide
Do you want to use WhaleDeck-compatible SSH Key? No problem! Follow the instructions for your operating system.
Last updated
Do you want to use WhaleDeck-compatible SSH Key? No problem! Follow the instructions for your operating system.
Last updated
The first step is to generate a compatible SSH key. WhaleDeck supports ED25519 in OPENSSH and RSA keys in OPENSSH and PEM format.
Run the following command in your Terminal and enter your filename and optional passphrase:
In the following example, I generate a key pair named WhaleDeck_Key without a passphrase. The folder, in which I ran the command, contains now two files named WhaleDeck_Key
& WhaleDeck_Key.pub
.
The folder, in which you ran the command, contains now two files named WhaleDeck_Key & WhaleDeck_Key.pub.
You now need to deploy the generated public key on your server. For that, you need to add the content of your .pub
file to your user's authorized_keys
.
This can usually be done by running the following command on your server:
The last step is to restart your SSH server. This either can be archived by restarting your entire server or only your SSH server. DDependingon your used operating system and SSH server, one of the following commands should do the job.
Finally, add the SSH key to your server in WhaleDeck. For that, add the content of your private key (the one without .pub) to the key-section and enter your passphrase in the password field if you set one during the creation process.