Created on 05-13-2016 08:00 PM - edited 09-16-2022 03:19 AM
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?
Created 05-13-2016 08:05 PM
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>
Created 05-13-2016 08:05 PM
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>
Created 05-14-2016 12:33 PM
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.
Created 05-23-2016 05:46 PM
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.