{"action":"created","issue":{"url":"https://api.github.com/repos/dongweiming/web_develop/issues/1","repository_url":"https://api.github.com/repos/dongweiming/web_develop","labels_url":"https://api.github.com/repos/dongweiming/web_develop/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dongweiming/web_develop/issues/1/comments","events_url":"https://api.github.com/repos/dongweiming/web_develop/issues/1/events","html_url":"https://github.com/dongweiming/web_develop/issues/1","id":176875161,"number":1,"title":"Vagrantfile 与书里内容不一致","user":{"login":"Cifer-Y","id":4470516,"avatar_url":"https://avatars.githubusercontent.com/u/4470516?v=3","gravatar_id":"","url":"https://api.github.com/users/Cifer-Y","html_url":"https://github.com/Cifer-Y","followers_url":"https://api.github.com/users/Cifer-Y/followers","following_url":"https://api.github.com/users/Cifer-Y/following{/other_user}","gists_url":"https://api.github.com/users/Cifer-Y/gists{/gist_id}","starred_url":"https://api.github.com/users/Cifer-Y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cifer-Y/subscriptions","organizations_url":"https://api.github.com/users/Cifer-Y/orgs","repos_url":"https://api.github.com/users/Cifer-Y/repos","events_url":"https://api.github.com/users/Cifer-Y/events{/privacy}","received_events_url":"https://api.github.com/users/Cifer-Y/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-14T10:48:23Z","updated_at":"2016-09-14T10:56:09Z","closed_at":null,"body":"书里多了三行\r\n```\r\nconfig.ssh.insert_key = false\r\nconfig.ssh.private_key_path = [\"~/.ssh/id_rsa\"]\r\nconfig.vm.provision \"file\", source: \"~/.ssh/id_rsa.pub\", destination: \"~/.ssh/authorized_keys\"\r\n```\r\n然后我把这三行加上之后在这个 repo 下 vagrant up , 会一直报 `Authentication failure`\r\n```\r\nvagrant reload\r\n==> default: Attempting graceful shutdown of VM...\r\nText will be echoed in the clear. Please install the HighLine or Termios libraries to suppress echoed text.\r\nubuntu@127.0.0.1's password:ubuntu\r\nubuntu@127.0.0.1's password:ubuntu\r\n    default: Guest communication could not be established! This is usually because\r\n    default: SSH is not running, the authentication information was changed,\r\n    default: or some other networking issue. Vagrant will force halt, if\r\n    default: capable.\r\n==> default: Forcing shutdown of VM...\r\n==> default: Checking if box 'ubuntu/xenial64' is up to date...\r\n==> default: Clearing any previously set forwarded ports...\r\n==> default: Clearing any previously set network interfaces...\r\n==> default: Preparing network interfaces based on configuration...\r\n    default: Adapter 1: nat\r\n    default: Adapter 2: bridged\r\n==> default: Forwarding ports...\r\n    default: 9000 (guest) => 9000 (host) (adapter 1)\r\n    default: 3141 (guest) => 3141 (host) (adapter 1)\r\n    default: 5000 (guest) => 5000 (host) (adapter 1)\r\n    default: 22 (guest) => 2222 (host) (adapter 1)\r\n==> default: Running 'pre-boot' VM customizations...\r\n==> default: Booting VM...\r\n==> default: Waiting for machine to boot. This may take a few minutes...\r\n    default: SSH address: 127.0.0.1:2222\r\n    default: SSH username: ubuntu\r\n    default: SSH auth method: password\r\n    default: Warning: Remote connection disconnect. Retrying...\r\n    default: Warning: Remote connection disconnect. Retrying...\r\n    default: Warning: Remote connection disconnect. Retrying...\r\n    default: Warning: Remote connection disconnect. Retrying...\r\n    default: Warning: Remote connection disconnect. Retrying...\r\n    default: Warning: Remote connection disconnect. Retrying...\r\n    default: Warning: Remote connection disconnect. Retrying...\r\nText will be echoed in the clear. Please install the HighLine or Termios libraries to suppress echoed text.\r\nubuntu@127.0.0.1's password:ubuntu\r\nubuntu@127.0.0.1's password:ubuntu\r\n    default: Warning: Authentication failure. Retrying...\r\nText will be echoed in the clear. Please install the HighLine or Termios libraries to suppress echoed text.\r\nubuntu@127.0.0.1's password:    default: Warning: Connection timeout. Retrying...\r\nText will be echoed in the clear. Please install the HighLine or Termios libraries to suppress echoed text.\r\nubuntu@127.0.0.1's password:ubuntu\r\nubuntu@127.0.0.1's password:ubuntu\r\n    default: Warning: Authentication failure. Retrying...\r\nText will be echoed in the clear. Please install the HighLine or Termios libraries to suppress echoed text.\r\nubuntu@127.0.0.1's password:\r\n```\r\n\r\n请问这是什么情况?"},"comment":{"url":"https://api.github.com/repos/dongweiming/web_develop/issues/comments/246977085","html_url":"https://github.com/dongweiming/web_develop/issues/1#issuecomment-246977085","issue_url":"https://api.github.com/repos/dongweiming/web_develop/issues/1","id":246977085,"user":{"login":"Cifer-Y","id":4470516,"avatar_url":"https://avatars.githubusercontent.com/u/4470516?v=3","gravatar_id":"","url":"https://api.github.com/users/Cifer-Y","html_url":"https://github.com/Cifer-Y","followers_url":"https://api.github.com/users/Cifer-Y/followers","following_url":"https://api.github.com/users/Cifer-Y/following{/other_user}","gists_url":"https://api.github.com/users/Cifer-Y/gists{/gist_id}","starred_url":"https://api.github.com/users/Cifer-Y/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cifer-Y/subscriptions","organizations_url":"https://api.github.com/users/Cifer-Y/orgs","repos_url":"https://api.github.com/users/Cifer-Y/repos","events_url":"https://api.github.com/users/Cifer-Y/events{/privacy}","received_events_url":"https://api.github.com/users/Cifer-Y/received_events","type":"User","site_admin":false},"created_at":"2016-09-14T10:56:09Z","updated_at":"2016-09-14T10:56:09Z","body":"补充, 我感觉问题出在 这里\r\n```\r\ndefault: SSH address: 127.0.0.1:2222\r\ndefault: SSH username: ubuntu\r\ndefault: SSH auth method: passwor\r\ndefault: Warning: Remote connection disconnect. Retrying...\r\ndefault: Warning: Remote connection disconnect. Retrying...\r\ndefault: Warning: Remote connection disconnect. Retrying...\r\ndefault: Warning: Remote connection disconnect. Retrying...\r\n```\r\n是我本地网络环境有问题吗?"}}
{"actor":{"display_login":"Cifer-Y"}}