Last active
January 15, 2018 09:43
-
-
Save pserrano/99976f74b1a90ef83b4b18bba82b7341 to your computer and use it in GitHub Desktop.
Ssh into a vagrant machine with ansible
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
#search ssh file key of machine with 'vagrant ssh-config | grep IdentityFile' | |
192.168.50.5 ansible_ssh_port=22 ansible_ssh_user=vagrant ansible_ssh_private_key_file=~/.ssh/id_rsa |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment