Comment on page
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.
The first step is to generate a compatible SSH key. WhaleDeck supports ED25519 and RSA keys in OPENSSH format.
Run the following command in your Terminal and enter your filename and optional passphrase:
ssh-keygen -t ed25519
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:
echo 'YOUR PUBLIC KEY CONTENT' >> ~/.ssh/authorized_keys
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.
service sshd restart
service ssh restart
sudo systemctl restart sshd
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.

Last modified 2mo ago