chore: improve quickstart instructions
Some checks failed
railiance-tests / smoke (push) Has been cancelled

This commit is contained in:
2025-09-13 00:57:17 +00:00
parent b1862d67f0
commit 53482f8e65

View File

@@ -45,7 +45,15 @@ If you dont 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 `<IP>` with your servers public IP and `<USER>` with the default login user (commonly `ubuntu` or `root`).
```bash
scp ~/.ssh/id_ed25519.pub <USER>@<IP>:/home/<USER>/authorized_keys.tmp
ssh <USER>@<IP> "mkdir -p ~/.ssh && cat ~/authorized_keys.tmp >> ~/.ssh/authorized_keys && rm ~/authorized_keys.tmp && chmod 700 ~/.ssh && chmod 600 ~/.ssh/authorized_keys"
```
---