Setting up environment
In this section we will prepare basic environment
1. Workspace directory creation
mkdir ~/roadshow-workspace
cd ~/roadshow-workspace
Create a new directory on desktop roadshow-workspace
2. SSH keypair creation
Lets create a keypair with type ED25519 for compatibility with newer OSes
Lets run OpenSSH's ssh-keygen
commmand
ssh-keygen -t ed25519 -f ~/roadshow-workspace/key
Lets use puttygen.exe
which can be downloaded from official project page: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
- Wygenerujemy parę kluczy SSH
- Zapiszemy klucz publiczny do katalogu roboczego
- Zapiszemy klucz prywatny bez hasła do katalogu roboczego
3. Reading SSH keypair
We need to read public key part first.
cat ~/roadshow-workspace/key.pub
ssh-ed25519 KEEEY user@host
. This is your public key.
In puttygen.exe
click Load
and load file priv
from roadshow-workspace
directory.
Next copy whole string from window Public key for pasting into OpenSSH authorized_keys file
. This is your public key.
4. Adding SSH keypair to the Manager (OVHcloud panel)
Lets go into OVHcloud panel into section Public Cloud.
Choose your desired public cloud project and in the section Project Management choose SSH Keys.
Next click on Add key choose your SSH key, set desired key name and paste your public key content