Hi everyone,

I've been having some trouble ssh-ing to VMs once I upgraded my Mac OS to 
Sierra. I'm using CentOS 7.1 (bento/centos-7.1 and centos/7) as my main VM, 
but I'm also having the same issue with Ubuntu (ubuntu/trusty64) and 
precise64 (hashicorp/precise64). When I do "vagrant up" or "vagrant up 
--provision" then try to "vagrant ssh", I get the following error:

/Users/Raven/.ssh/config: terminating, 1 bad configuration options

I did have a previous version of Vagrant installed when I upgraded to 
Sierra (I don't remember which one, though). I've tried:
- upgrading to Vagrant 1.8.6
- uninstalling Vagrant & removing files per 
https://www.vagrantup.com/docs/installation/uninstallation.html and then 
re-installing
- upgrading VirtualBox to the latest version
- ensuring that "UseRoaming no" is set in my User's /.ssh/config
- vagrant destroy/vagrant up multiple times on all boxes
- vagrant destroy on all VMs then trying to bring up a single VM
- disabled anti-virus
- tried adding "config.ssh.insert_key = false" to the Vagrantfile to no 
effect

When the VMs are booted with "vagrant up", I'm able to access them via 
VirtualBox's UI; I just keep getting that error if I try to ssh to the VMs.

I ran a debug on the ssh command and the following was at the end:

DEBUG virtualbox_5_0:   - [1, "ssh", 2222, 22]
DEBUG ssh: Checking key permissions: 
/Users/Raven/Vagrant/CentOS7/.vagrant/machines/default/virtualbox/private_key
 INFO ssh: Invoking SSH: ssh ["[email protected]", "-p", "2222", "-o", 
"Compression=yes", "-o", "DSAAuthentication=yes", "-o", "LogLevel=FATAL", 
"-o", "IdentitiesOnly=yes", "-o", "StrictHostKeyChecking=no", "-o", 
"UserKnownHostsFile=/dev/null", "-i", 
"/Users/Raven/Vagrant/CentOS7/.vagrant/machines/default/virtualbox/private_key"]
/Users/Raven/.ssh/config: terminating, 1 bad configuration options

After some more fiddling around, trying to get it to work (another full 
uninstall/reinstall), I'm now getting the following on "vagrant up":

==> default: Rsyncing folder: /Users/Raven/Vagrant/CentOS7/ => /vagrant
There was an error when attempting to rsync a synced folder.
Please inspect the error message below for more info.

Host path: /Users/Raven/Vagrant/CentOS7/
Guest path: /vagrant
Command: "rsync" "--verbose" "--archive" "--delete" "-z" "--copy-links" 
"--no-owner" "--no-group" "--rsync-path" "sudo rsync" "-e" "ssh -p 2200 -o 
LogLevel=FATAL  -o ControlMaster=auto -o 
ControlPath=/var/folders/qj/79b187p94w9clf2s7jxl1pfc0000gn/T/ssh.207 -o 
ControlPersist=10m  -o IdentitiesOnly=yes -o StrictHostKeyChecking=no -o 
UserKnownHostsFile=/dev/null -i 
'/Users/Raven/Vagrant/CentOS7/.vagrant/machines/default/virtualbox/private_key'"
 
"--exclude" ".vagrant/" "/Users/Raven/Vagrant/CentOS7/" 
"[email protected]:/vagrant"
Error: /Users/Raven/.ssh/config: terminating, 1 bad configuration options
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: unexplained error (code 255) at 
/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-51/rsync/io.c(453) 
[sender=2.6.9]

I haven't modified any of the Vagrantfiles outside of the config.vm.box to 
point to the version of OS, so as far as I know, this should be the basic 
installation of the VMs.

I tried looking to see if there were any known bugs that match this issue, 
and looked on here to see if there was something similar, but I didn't find 
anything. If anyone has any suggestions for what to try, or if there's any 
more info I can provide, please let me know.

Thanks,
Kirstin

-- 
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/c43ae0bc-3575-4c48-8407-8794076c2c66%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to