Skip to content

Instantly share code, notes, and snippets.

@shaikkhajaibrahim
Created November 14, 2018 02:39
Show Gist options
  • Save shaikkhajaibrahim/38019a0ecc076df29f4a3ed3a87fb135 to your computer and use it in GitHub Desktop.
Save shaikkhajaibrahim/38019a0ecc076df29f4a3ed3a87fb135 to your computer and use it in GitHub Desktop.
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