From 6668950a84510138352f94b77f4eeb57097df5d1 Mon Sep 17 00:00:00 2001 From: David Rotermund Date: Fri, 12 Apr 2024 02:38:12 +0200 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 3aae559..fb376b4 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,9 @@ ssh-keygen And then for every computer: ``` +ip="computername" passwd_value="PUT_A_PASSWORD_HERE" -sshpass -p "$passwd_value" ssh-copy-id -o "StrictHostKeyChecking accept-new" ansibleuser@COMPUTERNAME +sshpass -p "$passwd_value" ssh-copy-id -o "StrictHostKeyChecking accept-new" ansibleuser@$ip +scp ~/.ssh/id* ansibleuser@$ip:~/.ssh ```