Created
February 11, 2015 17:56
-
-
Save jwhitley/da7f60eb46c1c7e815c3 to your computer and use it in GitHub Desktop.
Convenience SSH host config for Vagrant VMs
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
Host vagrant | |
User vagrant | |
HostName 127.0.0.1 | |
Port 2222 | |
Compression yes | |
PubkeyAuthentication yes | |
LogLevel FATAL | |
StrictHostKeyChecking no | |
UserKnownHostsFile /dev/null | |
IdentitiesOnly yes | |
IdentityFile ~/.vagrant.d/insecure_private_key | |
ForwardAgent yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this to your
~/.ssh/config
file to enable direct use of ssh, scp, etc. viassh vagrant <options>
.