the user uses there must exist on the box and have the vagrant ssh public key
one way to do that is you could start a box, copy the home of the vagrant as your user, set proper permissions, create the new user, and package the box. Alvaro On Tue, Jun 28, 2016 at 3:09 PM, Sargon <[email protected]> wrote: > > New to Vagrant, sorry. > > I want to use a different user name than ''vagrant" as easily as the > default. > > I am adding the line > > ... > config.ssh.username = "newnamel" > > end > > And is seems to take it but then authentication fails. What else does it > need? > > Thanks > > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/vagrant/issues > IRC: #vagrant on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Vagrant" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/vagrant-up/c74a8ed3-7da5-4388-8ff4-49291b78a610%40googlegroups.com > <https://groups.google.com/d/msgid/vagrant-up/c74a8ed3-7da5-4388-8ff4-49291b78a610%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0extN3nUFU00xsE0b%2BFMVoUtcSjkPQW%3D4CtMm%3D8Qf-1gRQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
