From b65d65379305fdbb36178aadfc0f8a916431d1f4 Mon Sep 17 00:00:00 2001 From: hugo LAMY Date: Sat, 10 May 2025 11:32:20 +0200 Subject: [PATCH] added ssh precisions --- tutos/server.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tutos/server.md b/tutos/server.md index 19281e1..fffd470 100644 --- a/tutos/server.md +++ b/tutos/server.md @@ -225,6 +225,9 @@ gateway : fe80::226:bff:feef:59ff - **ssh-copy-id -o PreferredAuthentications=password -i /path/to/key.pub @** - first time you authenticate by key : - **ssh -i /path/to/key @** +- if next times you still need it ? + - check if key is loaded into agent : **ssh-add -l** + - if not, add it : **ssh-add ~/.ssh/your_key** ## list user : **cat /etc/passwd**