Merge branch 'main' of https://github.com/JamesTurland/JimsGarage
This commit is contained in:
commit
a93d38816c
|
@ -14,7 +14,7 @@ ansible all -m ping
|
||||||
|
|
||||||
# Create SSH Key
|
# Create SSH Key
|
||||||
```
|
```
|
||||||
ssh keygen -t ed25519 -C "ansible"
|
ssh-keygen -t ed25519 -C "ansible"
|
||||||
```
|
```
|
||||||
|
|
||||||
# Copy SSH Key
|
# Copy SSH Key
|
||||||
|
@ -25,4 +25,4 @@ ssh-copy-id -i ~/.ssh/ansible.pub 192.168.200.50
|
||||||
# Ansible Ping Command With New SSH Key
|
# Ansible Ping Command With New SSH Key
|
||||||
```
|
```
|
||||||
ansible all -m ping --key-file ~/.ssh/ansible
|
ansible all -m ping --key-file ~/.ssh/ansible
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue