Sshing into local vagrant machine

I am setting local debugging for phpstorm and I need to setup remote login for the vm. Typically a user would use the vagrant command ‘vagrant ssh’ to get in but unfortunately there is no way to use vagrant commands with phpstorm. What are the login credentials for the local server? The default login/pw in the vagrant docs doesn’t work(vagrant/vagrant).

Run vagrant ssh-config to see all the ssh info you need. For Vagrant it’s the right private key that’s the most common difference.

1 Like