From 6f04435d53153078087a03150451ce5b18ed0201 Mon Sep 17 00:00:00 2001 From: Sonny Date: Sun, 3 Dec 2023 18:52:46 +0100 Subject: [PATCH] docs: update example SSH file path --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dcc9ba5..a2587ca 100644 --- a/README.md +++ b/README.md @@ -58,9 +58,9 @@ ssh-keygen -t rsa -b 4096 Copy : ```shell -cat ~/.ssh/id_rsa.pub | ssh b@B 'cat >> ~/.ssh/authorized_keys' +cat ./id_rsa.pub | ssh b@B 'cat >> ~/.ssh/authorized_keys' # or -ssh-copy-id -i ~/.ssh/id_rsa.pub user@host +ssh-copy-id -i ./id_rsa.pub user@host ``` > Source: https://github.com/appleboy/ssh-action#setting-up-a-ssh-key