Q&A
Localのブラウザから0.0.0.0:2222でアクセスすると、
SSH-2.0-OpenSSH_7.3p1 Ubuntu-1
Protocol mismatch.
と返ってきます。
解決策をご教示お願いします。。
vmとの接続状況は下記です。
vagrant reload ==> default: Attempting graceful shutdown of VM... ==> default: Checking if box 'ubuntu/yakkety64' is up to date... ==> default: Clearing any previously set forwarded ports... ==> default: Clearing any previously set network interfaces... ==> default: Preparing network interfaces based on configuration... default: Adapter 1: nat default: Adapter 2: hostonly ==> default: Forwarding ports... default: 22 (guest) => 2222 (host) (adapter 1) ==> default: Running 'pre-boot' VM customizations... ==> default: Booting VM... ==> default: Waiting for machine to boot. This may take a few minutes... default: SSH address: 127.0.0.1:2222 default: SSH username: ubuntu default: SSH auth method: password default: Warning: Remote connection disconnect. Retrying... ==> default: Machine booted and ready! ==> default: Checking for guest additions in VM... ==> default: Setting hostname... ==> default: Configuring and enabling network interfaces... ==> default: Mounting shared folders... default: /vagrant => /Users/tsukamotonao/rails-dev-box ==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision` ==> default: flag to force provisioning. Provisioners marked to run always will still run.
vagrant ssh Welcome to Ubuntu 16.10 (GNU/Linux 4.8.0-28-generic x86_64) * Documentation: https://help.ubuntu.com * Management: https://landscape.canonical.com * Support: https://ubuntu.com/advantage Get cloud support with Ubuntu Advantage Cloud Guest: http://www.ubuntu.com/business/services/cloud 9 packages can be updated. 8 updates are security updates. Last login: Wed Dec 7 07:51:58 2016 from 10.0.2.2 rails s -b 0.0.0.0 => Booting Puma => Rails 5.0.0.1 application starting in development on http://0.0.0.0:3000 => Run `rails server -h` for more startup options Puma starting in single mode... * Version 3.6.2 (ruby 2.3.1-p112), codename: Sleepy Sunday Serenity * Min threads: 5, max threads: 5 * Environment: development * Listening on tcp://0.0.0.0:3000
ssh -V penSSH_7.3p1 Ubuntu-1, OpenSSL 1.0.2g 1 Mar 2016
です。。
回答1件
あなたの回答
tips
プレビュー
下記のような回答は推奨されていません。
このような回答には修正を依頼しましょう。
2016/12/08 06:25