diff --git a/QUICKSTART.md b/QUICKSTART.md index a3c1e6c..6d3c626 100644 --- a/QUICKSTART.md +++ b/QUICKSTART.md @@ -45,7 +45,15 @@ If you don’t already have an SSH key: bin/railiance gen-ssh-key ``` -Upload the public key to your cloud provider or VM host. +### Upload your SSH public key to your cloud provider or VM host + +Once your key pair is generated (`~/.ssh/id_ed25519.pub`), copy the public key to the VM. +Replace `` with your server’s public IP and `` with the default login user (commonly `ubuntu` or `root`). + +```bash +scp ~/.ssh/id_ed25519.pub @:/home//authorized_keys.tmp +ssh @ "mkdir -p ~/.ssh && cat ~/authorized_keys.tmp >> ~/.ssh/authorized_keys && rm ~/authorized_keys.tmp && chmod 700 ~/.ssh && chmod 600 ~/.ssh/authorized_keys" +``` ---