Feb 25, 2013

ssh to vagrant host

cat >> ~/.ssh/config << "EOF"
Host vagrant
  HostName localhost
  User vagrant
  StrictHostKeyChecking no
  UserKnownHostsFile=/dev/null
  IdentityFile ~/.vagrant.d/insecure_private_key
  Port 2222
EOF

ssh vagrant

No comments: