Created
November 14, 2018 02:39
-
-
Save shaikkhajaibrahim/38019a0ecc076df29f4a3ed3a87fb135 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 linux machines => Ubuntu 16 | |
1 => Ansible control sever | |
enable password based authentication | |
(/etc/ssh/sshd_config ) | |
service sshd restart | |
user => ansible => adduser | |
visudo | |
install ansible | |
2 => python is present or not (install) | |
enable password based authentication | |
=> user => ansible | |
key based authentication b/w acs and node for ansible user | |
1 ACS | |
=> Generate keys => Public & Private Key | |
ssh-keygen | |
ssh-copy-id | |
ssh -i <pathofkey> username@<ipaddress/hostname> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment