Update README.md
This commit is contained in:
parent
643bb2f56d
commit
6668950a84
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue