Rather than ssh-ing onto my Vagrant virtual machine with a "vagrant" user-name and password, I'd like to use kevin/kevin.
I modified my Vagrantfile
to include:
config.ssh.username = "kevin"
Then, I ran vagrant reload
.
The following output showed up:
[default] Waiting for machine to boot. This may take a few minutes...
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period. This can
mean a number of things.
However, I could still ssh onto my vagrant box using vagrant/vagrant
, yet I I couldn't ssh onto the box with a user-name and password of kevin/kevin or kevin/vagrant.
Note that I also tried this answer (https://stackoverflow.com/a/9924122/409976), but I could only ssh onto the box with user-name vagrant
, not kevin
(even though it's specified in the Vagrantfile
).
How can I configure my Vagrantfile so that I can ssh using user-name kevin
?