From 6662e9a377f5a4b2bc4148079d9bc37ae6d11fb2 Mon Sep 17 00:00:00 2001 From: Bernd Worsch Date: Sat, 13 Sep 2025 01:18:14 +0000 Subject: [PATCH] chore: improved quickstart --- QUICKSTART.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/QUICKSTART.md b/QUICKSTART.md index 6d3c626..5fbc4cc 100644 --- a/QUICKSTART.md +++ b/QUICKSTART.md @@ -47,14 +47,26 @@ bin/railiance gen-ssh-key ### 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. +Once your key pair is generated (`~/.ssh/id_.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 +scp ~/.ssh/id_.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" ``` +This will: + +- copy your public key to the host, +- append it to ~/.ssh/authorized_keys, +- set correct permissions. + +After this, you should be able to log in without a password: + +```bash +ssh @ +``` + --- ## 3. Create your inventory