- Open Github Codespaces and create your new
cloudnativetrainings/linux-fundamentalscodespace. - Create the
.secretsdirectory
mkdir /training/.secrets/- Copy the files
README.MD,ssh-configandssh-private-keyinto the directory named.secretsinto your codespace. You can drag and top those two files into the browser. - Run the following commands:
# fix the permissions of your private key
chmod 0400 /training/.secrets/ssh-private-key
# connect to your VM
ssh -F /training/.secrets/ssh-config linux-fundamentals-vm- Delete your
cloudnativetrainings/linux-fundamentalscodespace via Github Codespaces.