Hi Alvaro,
I have now tried that, but it's giving me the same sort of error.
ssh -i
/Users/Raven/Vagrant/CentOS7/.vagrant/machines/default/virtualbox/private_key
-p 2222 kirstin@localhost
Kirstins-MacBook-Pro:CentOS7 Raven$ ssh -i
/Users/Raven/Vagrant/CentOS7/.vagrant/machines/default/virtualbox/private_key
-p 2222 kirstin@localhost
/Users/Raven/.ssh/config: line 1: Bad configuration option: useroaming
/Users/Raven/.ssh/config: terminating, 1 bad configuration options
with same result if I use:
ssh -i
/Users/Raven/Vagrant/CentOS7/.vagrant/machines/default/virtualbox/private_key
-p 2222 -l kirstin vagrant@localhost
I also had a thought that Apple might have done something to harden my
local .ssh file, so I ran ssh-keygen to see if adding a local key pair
would help when I did "vagrant up" in their process of adding a key pair,
but I'm getting the same errors.
My /.ssh/config file is basically empty except for "UseRoaming no"
I understand that with Vagrant you have the ability to set up specific key
pairs, but if your Vagrantfile is limited to the default new one, shouldn't
it be generating a new pair on its own during "vagrant up"? That's what I
thought the following was doing:
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default:
default: Vagrant insecure key detected. Vagrant will automatically
replace
default: this with a newly generated keypair for better security.
default:
default: Inserting generated public key within guest...
default: Removing insecure key from the guest if it's present...
default: Key inserted! Disconnecting and reconnecting using new SSH
key...
I also noticed a possible issue with the VirtualBox Guest Additions, so I
installed vagrant-vbguest and re-ran "vagrant up". Still getting the
"/Users/Raven/.ssh/config: terminating, 1 bad configuration options" error
when trying to ssh.
Thanks again for the help!
Kirstin
On Sunday, October 9, 2016 at 11:55:34 AM UTC-7, Alvaro Miranda Aguilera
wrote:
>
>
> On Fri, Oct 7, 2016 at 7:53 AM, Kirstin Veltman <[email protected]
> <javascript:>> wrote:
>
>> /Users/Raven/.ssh/config: terminating, 1 bad configuration options
>
>
> Hello
>
> Can create a new user in the host machine and test?
>
> it seems the error is on your user .ssh folder:
> /Users/Raven/.ssh/config: terminating, 1 bad configuration options
>
> Alvaro.
>
>
> --
> Alvaro
>
>
--
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/a186b33c-452b-4a17-a778-505eac913be4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.