I use PuTTY to connect to my Vagrant boxes on Windows7.
Make sure you
- convert the
%USERPROFILE%.vagrant.dinsecure_private_key
to .ppk using PuTTYGen
- use the .ppk key in your PuTTY session - configured in Connection > SSH > Auth > Private key file
- use host
127.0.0.1
- use port 2222 instead of 22
- you can set the default username (vagrant) under Connection > SSH > Auth > Private key for authentication
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…