Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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.