前提・実現したいこと
競技プログラミングをipadでもできるように環境を整えようと思い、Textastic Code Editor 8を購入し、SSH接続をしようと試みました。
環境は
Windows10
Virtualbox, vagrant, CentOS6.8, PuTTY, cyberduck を使っています。
発生している問題・エラーメッセージ
Connecting to 127.0.0.1 port 2222 ERROR: Failed to connect to host 127.0.0.1 port 2222: Connection refused
試したこと
ipadのtextasticアプリ上で以下のように入力して接続を試したところ、上記のエラーが出ました
Host 127.0.0.1 Port 2222 User vagrant Password @@@ Public Key Auth. => on Private Key File @@@
PCからは
> ping 192.168.@.@ # ipadのipアドレス
としたところ
通っていることが確認されました。
その後
> ssh 192.168.@.@
とすると
ssh: connect to host 192.168.@.@ port 22: Connection timed out
となりました
> vagrant ssh-config
の結果は以下の通りです
Host default HostName 127.0.0.1 User vagrant Port 2222 UserKnownHostsFile /dev/null StrictHostKeyChecking no PasswordAuthentication no IdentityFile @@@ IdentitiesOnly yes LogLevel FATAL
1日自分で調べて実行してみましたが、ネットワーク初心者なので解決できませんでした。
回答よろしくお願いします。
補足情報(FW/ツールのバージョンなど)
CentOS6.8
vagrant2.1.5
追記
> ssh 192.168.33.10 The authenticity of host '192.168.33.10 (192.168.33.10)' can't be established. RSA key fingerprint is SHA256:nGWUJ4ZS3c0AbkYVr9Nrny/CNRuXO+6ybztG6esiZjQ. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added '192.168.33.10' (RSA) to the list of known hosts. ssh_dispatch_run_fatal: Connection to 192.168.33.10 port 22: Connection aborted
192.168.33.10は仮想環境設定でコメントアウトしたときにあったアドレスです。
あなたの回答
tips
プレビュー