Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Vagrant password

avatar

I am following these instructions http://hortonworks.com/blog/building-hadoop-vm-quickly-ambari-vagrant/ for setting up a cluster using vagrant. When I try to SSH to the VM, I get prompted for password. The default vagrant password "vagrant" doesn't work. What can I do to bypass the password requirement?

1 ACCEPTED SOLUTION

avatar
Guru

Try ssh with vagrant ssh <vm>.

This setup uses key based authentication and it should never prompt you for password once you use vagrant ssh <vm>

View solution in original post

3 REPLIES 3

avatar
Guru

Try ssh with vagrant ssh <vm>.

This setup uses key based authentication and it should never prompt you for password once you use vagrant ssh <vm>

avatar
Master Mentor

Also if you use vagrant to provision VMs please avoid using VM GUI as you can accidentally disassociate your VMs from vagrant keys and also cause vagrant lose ssh permission. I had that happen to me and restoring access is not intuitive.

avatar

Thanks @Ravi Mutyala and @Artem Ervits. After getting stuck I ended up starting over using instructions on Apache wiki. I'm not sure what exactly was different but no password-related problems.