Hey Naveen … Are you using some shared LAN like in a University … ? It does happen that when LAN is used the ssh request bounces many times and then timeout occurs. However if you use wifi instead it gets connected instantly. So you can do one thing … Just use your mobile wifi for connecting to AWS and then continue using it with ur LAN . It then works smoothly.
thanks vishal for your valuable point ,previously i was using a Lan cable straight from my router ,but now i tried with wifi option from the same router .the results are still same .i followed @ecdrid advice on checking once again the command i’m writing for ssh connection .the result i attaching with this post
Maybe because ur router connection is not efficient . That’s why I asked you to use ur mobile wifi. Actually it happened with me too . So I use mobile wifi for the connecting and after that continue to use LAN. So u can try it too using another wifi source .
after trying everything mi’m still stuck coulsd anybody help me ,please help me i’m struggling with this since afternoon
here what i have to offer to tell you all where i’m stuck
Aarambh@ADMIN-VAIO:~/.ssh$ ssh -i id_rsa ubuntu@13.126.60.128 -L8888:localhost:8888
ssh: connect to host 13.126.60.128 port 22: Resource temporarily unavailable
id_rsa is the name of my key pair,i used this command while i was in ssh directory
but i’m using the default windows defender on windows 10.so,everytime when i want to connect AWS instance to my computer i should disable my window defender is that you are trying to say.