{"action":"created","issue":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/6244","repository_url":"https://api.github.com/repos/RIOT-OS/RIOT","labels_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/6244/labels{/name}","comments_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/6244/comments","events_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/6244/events","html_url":"https://github.com/RIOT-OS/RIOT/issues/6244","id":196591737,"number":6244,"title":"Vagrant VM not connecting via SSH","user":{"login":"kennethjiang","id":779786,"avatar_url":"https://avatars.githubusercontent.com/u/779786?v=3","gravatar_id":"","url":"https://api.github.com/users/kennethjiang","html_url":"https://github.com/kennethjiang","followers_url":"https://api.github.com/users/kennethjiang/followers","following_url":"https://api.github.com/users/kennethjiang/following{/other_user}","gists_url":"https://api.github.com/users/kennethjiang/gists{/gist_id}","starred_url":"https://api.github.com/users/kennethjiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennethjiang/subscriptions","organizations_url":"https://api.github.com/users/kennethjiang/orgs","repos_url":"https://api.github.com/users/kennethjiang/repos","events_url":"https://api.github.com/users/kennethjiang/events{/privacy}","received_events_url":"https://api.github.com/users/kennethjiang/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-20T05:49:10Z","updated_at":"2016-12-20T13:26:46Z","closed_at":null,"body":"Vagrant: 1.8.6\r\nHost: Mac OSX 10.11.6\r\nHypervisor: VirtualBox 5.0.28\r\n\r\n`vagrant up` ended with the error message:\r\n```\r\nERROR vagrant: Vagrant experienced an error! Details:\r\nERROR vagrant: #<Vagrant::Errors::VMBootTimeout: Timed out while waiting for the machine to boot. This means that\r\nVagrant was unable to communicate with the guest machine within\r\nthe configured (\"config.vm.boot_timeout\" value) time period.\r\n```\r\n\r\nWhen I turned on Vagrant debug, it timed out at this command:\r\n```\r\n INFO ssh: Invoking SSH: ssh [\"vagrant@127.0.0.1\", \"-p\", \"2222\", \"-o\", \"Compression=yes\", \"-o\", \"DSAAuthentication=yes\", \"-o\", \"LogLevel=FATAL\", \"-o\", \"IdentitiesOnly=yes\", \"-o\", \"StrictHostKeyChecking=no\", \"-o\", \"UserKnownHostsFile=/dev/null\", \"-i\", \"/Users/kenneth/.vagrant.d/insecure_private_key\"]\r\n```\r\n\r\nOn VirtualBox admin console, the VM was actually running, with login screen on console.\r\n\r\n--------\r\nAdditional debugging info:\r\n\r\nThe openssh server running in the guest VM seems to have problems:\r\n\r\n```bash\r\n$ nc -v localhost 2222                                                                                      ⏎\r\nnc: connectx to localhost port 2222 (tcp) failed: Connection refused\r\nfound 0 associations\r\nfound 1 connections:\r\n     1:\tflags=82<CONNECTED,PREFERRED>\r\n\toutif lo0\r\n\tsrc 127.0.0.1 port 62070\r\n\tdst 127.0.0.1 port 2222\r\n\trank info not available\r\n\tTCP aux info available\r\n\r\nConnection to localhost port 2222 [tcp/ats] succeeded!\r\n```\r\n\r\nWhereas a correctly-behaving openssh server would return this:\r\n```bash\r\n$nc -v localhost 2222\r\nnc: connectx to localhost port 2222 (tcp) failed: Connection refused\r\nfound 0 associations\r\nfound 1 connections:\r\n     1:\tflags=82<CONNECTED,PREFERRED>\r\n\toutif lo0\r\n\tsrc 127.0.0.1 port 62232\r\n\tdst 127.0.0.1 port 2222\r\n\trank info not available\r\n\tTCP aux info available\r\n\r\nConnection to localhost port 2222 [tcp/rockwell-csp2] succeeded!\r\nSSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.1\r\n```\r\nPlease notice openssh server in RIOT-VM is missing `SSH-2.0-OpenSSH_7.2p2 Ubuntu-4ubuntu2.1` in response."},"comment":{"url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/comments/268242421","html_url":"https://github.com/RIOT-OS/RIOT/issues/6244#issuecomment-268242421","issue_url":"https://api.github.com/repos/RIOT-OS/RIOT/issues/6244","id":268242421,"user":{"login":"kennethjiang","id":779786,"avatar_url":"https://avatars.githubusercontent.com/u/779786?v=3","gravatar_id":"","url":"https://api.github.com/users/kennethjiang","html_url":"https://github.com/kennethjiang","followers_url":"https://api.github.com/users/kennethjiang/followers","following_url":"https://api.github.com/users/kennethjiang/following{/other_user}","gists_url":"https://api.github.com/users/kennethjiang/gists{/gist_id}","starred_url":"https://api.github.com/users/kennethjiang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kennethjiang/subscriptions","organizations_url":"https://api.github.com/users/kennethjiang/orgs","repos_url":"https://api.github.com/users/kennethjiang/repos","events_url":"https://api.github.com/users/kennethjiang/events{/privacy}","received_events_url":"https://api.github.com/users/kennethjiang/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T13:26:46Z","updated_at":"2016-12-20T13:26:46Z","body":"Upgraded VirtualBox to 5.1.10 and it worked! Did not have to upgrade Vagrant.\r\n\r\nThanks @smlng for your prompt response!"}}
{"actor":{"display_login":"kennethjiang"}}