{"action":"created","issue":{"url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/636","repository_url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt","labels_url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/636/labels{/name}","comments_url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/636/comments","events_url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/636/events","html_url":"https://github.com/vagrant-libvirt/vagrant-libvirt/issues/636","id":169125986,"number":636,"title":"Failed to start centos7: ssh authentication failed","user":{"login":"sebastian-philipp","id":2574405,"avatar_url":"https://avatars.githubusercontent.com/u/2574405?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastian-philipp","html_url":"https://github.com/sebastian-philipp","followers_url":"https://api.github.com/users/sebastian-philipp/followers","following_url":"https://api.github.com/users/sebastian-philipp/following{/other_user}","gists_url":"https://api.github.com/users/sebastian-philipp/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastian-philipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastian-philipp/subscriptions","organizations_url":"https://api.github.com/users/sebastian-philipp/orgs","repos_url":"https://api.github.com/users/sebastian-philipp/repos","events_url":"https://api.github.com/users/sebastian-philipp/events{/privacy}","received_events_url":"https://api.github.com/users/sebastian-philipp/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-03T13:02:27Z","updated_at":"2016-08-04T09:52:16Z","closed_at":"2016-08-03T16:42:46Z","body":"Hi, after installing Vagrant + vagrant-libvirt, I cannot completely start a centos7 VM. After replacing insecure SSH Keys, vagrant mentioned it wants to reconnect. ```AGRANT_LOG=debug``` revealed:\r\n\r\n```\r\nINFO ssh: SSH not up: #<Vagrant::Errors::SSHAuthenticationFailed: SSH authentication failed! This is typically caused by the public/private\r\nkeypair for the SSH user not being properly set on the guest VM. Please\r\nverify that the guest VM is setup with the proper public key, and that\r\nthe private key path for Vagrant is setup properly as well.>\r\n```\r\n\r\nI was able to open the virt-manager console and executed \r\n\r\n```\r\nservice sshd status -l\r\n<snip>\r\nAuthentication refused: bad ownership or modes for /home/vagrant/.ssh/authorized_keys\r\n```\r\nFYI, authorized_keys has -rw-rw-r--\r\n\r\nAt this point, vagrant up won't continue.\r\n\r\n**OS/Distro version:**: Ubuntu 16.04\r\n\r\n**Libvirt version:** 1.3.1\r\n\r\n**Output of `vagrant version; vagrant plugin list`:** \r\n```\r\nInstalled Version: 1.8.5\r\nLatest Version: 1.8.5\r\n \r\nYou're running an up-to-date version of Vagrant!\r\nvagrant-libvirt (0.0.33)\r\nvagrant-share (1.1.5, system)\r\n```\r\n\r\n**A Vagrantfile to reproduce the issue:**\r\n```\r\n$ vagrant init centos/7\r\n```\r\n\r\n**Are you using upstream vagrant package or your distros package?**\r\nUpstream\r\n\r\n\r\n**Edit**: ```chmod 600 .ssh/authorzized_keys``` fixed the issue"},"comment":{"url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/comments/237507263","html_url":"https://github.com/vagrant-libvirt/vagrant-libvirt/issues/636#issuecomment-237507263","issue_url":"https://api.github.com/repos/vagrant-libvirt/vagrant-libvirt/issues/636","id":237507263,"user":{"login":"sebastian-philipp","id":2574405,"avatar_url":"https://avatars.githubusercontent.com/u/2574405?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastian-philipp","html_url":"https://github.com/sebastian-philipp","followers_url":"https://api.github.com/users/sebastian-philipp/followers","following_url":"https://api.github.com/users/sebastian-philipp/following{/other_user}","gists_url":"https://api.github.com/users/sebastian-philipp/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastian-philipp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastian-philipp/subscriptions","organizations_url":"https://api.github.com/users/sebastian-philipp/orgs","repos_url":"https://api.github.com/users/sebastian-philipp/repos","events_url":"https://api.github.com/users/sebastian-philipp/events{/privacy}","received_events_url":"https://api.github.com/users/sebastian-philipp/received_events","type":"User","site_admin":false},"created_at":"2016-08-04T09:52:16Z","updated_at":"2016-08-04T09:52:16Z","body":"It was a vagrant bug: https://github.com/mitchellh/vagrant/issues/7610"}}
{"actor":{"display_login":"sebastian-philipp"}}