{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/7892","repository_url":"https://api.github.com/repos/mitchellh/vagrant","labels_url":"https://api.github.com/repos/mitchellh/vagrant/issues/7892/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/7892/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/7892/events","html_url":"https://github.com/mitchellh/vagrant/issues/7892","id":182434856,"number":7892,"title":"How can I connect to vm configured with private/public networking by ssh command.","user":{"login":"buptmiao","id":9656347,"avatar_url":"https://avatars.githubusercontent.com/u/9656347?v=3","gravatar_id":"","url":"https://api.github.com/users/buptmiao","html_url":"https://github.com/buptmiao","followers_url":"https://api.github.com/users/buptmiao/followers","following_url":"https://api.github.com/users/buptmiao/following{/other_user}","gists_url":"https://api.github.com/users/buptmiao/gists{/gist_id}","starred_url":"https://api.github.com/users/buptmiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buptmiao/subscriptions","organizations_url":"https://api.github.com/users/buptmiao/orgs","repos_url":"https://api.github.com/users/buptmiao/repos","events_url":"https://api.github.com/users/buptmiao/events{/privacy}","received_events_url":"https://api.github.com/users/buptmiao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-12T04:53:04Z","updated_at":"2016-12-09T15:45:50Z","closed_at":"2016-12-09T15:45:50Z","body":"when I ssh to the vm by the command below:\n\n```\nssh vagrant@192.168.4.10\n```\n\nI encountered a timeout with the message below:\n\n```\nssh: connect to host 192.168.4.10 port 22: Operation timed out\n```\n\nIt seems it can't find that IP address. but vagrant ssh is OK.\n\nSo How can I login the vm by just ssh cmd.\n### Vagrant version\n\nVagrant 1.8.5\n### Host operating system\n\nOSX 10.11.3\n### Guest operating system\n\nlinux\n### Vagrantfile\n\n``` ruby\nVagrant.configure(2) do |config|\n\n  config.vm.define \"test\" do |machine|\n    machine.vm.box = \"trusty-server-cloudimg-amd64-vagrant-disk1\"\n    machine.vm.box_url = \"https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box\"\n    machine.vm.hostname = \"test\"\n    machine.vm.network \"public_network\", ip: \"192.168.4.10\"\n    machine.vm.provider \"virtualbox\" do |node|\n        node.name = \"test\"\n        node.memory = 4048\n        node.cpus = 2 \n    end \n   end \nend\n```\n### Debug output\n\n[vagrant up output](https://gist.github.com/buptmiao/f3bb03d5af19db8597fde7c1b77ef91d)\n### Expected behavior\n\nssh succeed\n### Actual behavior\n\nas described above\n### Steps to reproduce\n1. vagrant up\n2. ssh vagrant@192.168.4.10\n### References\n"},"comment":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/comments/266045440","html_url":"https://github.com/mitchellh/vagrant/issues/7892#issuecomment-266045440","issue_url":"https://api.github.com/repos/mitchellh/vagrant/issues/7892","id":266045440,"user":{"login":"chrisroberts","id":266674,"avatar_url":"https://avatars.githubusercontent.com/u/266674?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisroberts","html_url":"https://github.com/chrisroberts","followers_url":"https://api.github.com/users/chrisroberts/followers","following_url":"https://api.github.com/users/chrisroberts/following{/other_user}","gists_url":"https://api.github.com/users/chrisroberts/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisroberts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisroberts/subscriptions","organizations_url":"https://api.github.com/users/chrisroberts/orgs","repos_url":"https://api.github.com/users/chrisroberts/repos","events_url":"https://api.github.com/users/chrisroberts/events{/privacy}","received_events_url":"https://api.github.com/users/chrisroberts/received_events","type":"User","site_admin":false},"created_at":"2016-12-09T15:45:50Z","updated_at":"2016-12-09T15:45:50Z","body":"That information can be found in the networking documentation: https://www.vagrantup.com/docs/networking/\r\n\r\nCheers!"}}
{"actor":{"display_login":"chrisroberts"}}