Skip to content

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 New folder

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

  1. Wygenerujemy parę kluczy SSH generate ssh key pair
  2. Zapiszemy klucz publiczny do katalogu roboczego save public key save public key
  3. Zapiszemy klucz prywatny bez hasła do katalogu roboczego generate ssh key pair generate ssh key pair

3. Reading SSH keypair

We need to read public key part first.

cat ~/roadshow-workspace/key.pub
Copy to clipboard whole string 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.

copy_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

add_key