Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

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.