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 ```