- Open Github Codespaces and create your new
cloudnativetrainings/kubernetes-securitycodespace. - Copy the files
ssh-configandssh-private-keyinto your codespace. - Run the following commands:
# fix the permissions of your private key
chmod 0400 ./ssh-private-key
# connect to your VM
ssh -F ./ssh-config kubernetes-security-vm
# verify if everything is setup properly
make verify- Delete your
cloudnativetrainings/kubernetes-securitycodespace via Github Codespaces.