Created
June 12, 2015 11:38
-
-
Save awilliams/551d8282e8b66e6f8c15 to your computer and use it in GitHub Desktop.
vagrant ssh config
This file contains hidden or 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
# Add this to ~/.ssh/config, changing the Host and IdentifyFile definitions as needed. | |
# Run `vagrant ssh-config` for more info. | |
Host devbox | |
HostName 127.0.0.1 | |
User vagrant | |
Port 2222 | |
ForwardAgent yes | |
IdentityFile ~/vms/devbox/.vagrant/machines/default/virtualbox/private_key | |
UserKnownHostsFile /dev/null | |
StrictHostKeyChecking no | |
PasswordAuthentication no | |
IdentitiesOnly yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment