From 1acb5e74bdfccc6d7e9eeb136ff170e4a9c61328 Mon Sep 17 00:00:00 2001 From: sthope Date: Sat, 4 Sep 2021 01:02:54 +0200 Subject: [PATCH] initial commit --- _posts/2021-09-03-ssh-keys.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2021-09-03-ssh-keys.md b/_posts/2021-09-03-ssh-keys.md index 95f0a11..0fc74f5 100644 --- a/_posts/2021-09-03-ssh-keys.md +++ b/_posts/2021-09-03-ssh-keys.md @@ -16,6 +16,6 @@ cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 64 | head -n 1 Replace `very_long_secret` with the long generated password and replace `/opt/.certs/service` with the location for your keys and the name (different name for each key "service") Default generally is `~/.ssh/id_rsa`, you can omit `-f "/opt/.certs/service"` if you don't want to choose it. ``` -ssh-keygen -t rsa -b 4096 -f "/opt/.certs/service" -N jw7sfh9y2e5ma9er4qwy3a97j4h8czhqy2fbaypv9er4qwy3a9w9rtv587q2k +ssh-keygen -t rsa -b 4096 -f "/opt/.certs/service" -C "Hopeless Automations" ```