0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

ec2にRLoginでssh接続してwinsock have error #10061が出た場合の原因

Last updated at Posted at 2020-10-17

動作環境

Windows10
AWS EC2のインスタンスを起動中
RLogin(teraTerm)
仕事で顧客の会社のLANからEC2にssh接続しようとした

トラブルの内容

Windows10でAWSのEC2にssh接続しようとした。RLoginでssh接続したら、「winsock have error #10061」というエラーが出た。この後、TeraTermでssh接続したら、TeraTermが接続できずに落ちて終了した。このエラーの原因は何か?

解決の糸口

別のネットワークから同じEC2のインスタンスにssh接続したら今度は成功した。つまり、顧客の会社のLANのポートの設定でsshの22番ポートが空いていなかったか、もしくは別の50022のような番号をsshポートとして利用しているとかが原因だと推測出来た。

結果

ネットワークの設定で外部にssh接続ができるPCが決まっていた。そのため、ネットワークの設定を変更してもらった。

所感

AWSの設定の問題かと思っていたが、ローカル側のネットワークの設定の問題できた。盲点でした。「winsock have error #10061」と検索しても、よくわからなかった。インターネット調べても全然出てこなかったのでQiitaに投稿しました。

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?