Vagrant SSH Prompts for Password

I was getting prompted for a password when typing in vagrant ssh, which was surprising. The username and password is vagrant/vagrant which I didn’t see documented anywhere (it’s been a while since I used vagrant).

When sshing manually I noticed this error:

sign_and_send_pubkey: no mutual signature supported

Anyway the tl;dr to fix ssh is to create a file ~/.ssh/config and put the following in it:

PubkeyAcceptedKeyTypes +ssh-rsa

The box seems to use an older version of ssh that uses deprecated security mechanisms, so you might want to remove it when done.

4 Likes

thanks Steve for info!

Great! thank for your info :1st_place_medal: