From 09aee112daead5d0f47eda20367dcb44937e26d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Gra=CC=88fenstein?= Date: Sun, 22 Mar 2026 13:02:11 +0100 Subject: [PATCH] add local setup doc --- README.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/README.md b/README.md index ed25289..4e6b333 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,37 @@ Create these A records pointing to your VPS IP: | `nextcloud.t-gstone.de` | `` | | `git.t-gstone.de` | `` | +## Local Setup + +### SSH Access + +Add this to `~/.ssh/config` on your local machine: + +``` +Host t-gstone.de + HostName t-gstone.de + User gstone + Port 55 + IdentityFile ~/.ssh/id_ed25519 + UseKeychain yes + AddKeysToAgent yes +``` + +Generate a key and copy it to the VPS: + +```bash +# Generate key (skip if you already have ~/.ssh/id_ed25519) +ssh-keygen -t ed25519 + +# Copy it to the VPS (will ask for your password once) +ssh-copy-id -p 55 gstone@t-gstone.de + +# Store passphrase in macOS Keychain +ssh-add --apple-use-keychain ~/.ssh/id_ed25519 +``` + +After this, `ssh t-gstone.de` connects without any password prompts. + ## Quick Start ```bash