Score:0

ssh: connect to host 18.217.164.53 port 22: Operation timed out

in flag

I have read every related questions but could not find solution yet. I am still new to AWS but managed to set up an instance and deploy my website. My uwf status was inactive so I hit sudo ufw enable but I forgot to hit sudo ufw allow ssh and now I can not use ssh when I press ssh -i /Users/xyz/files/webshop.pem [email protected] in my mac terminal. Is there any rapid way to manage the issue without creating a new instance on AWS?

Any help would be greatly appreciated (I have to demo my applcation on Thursady).

user535733 avatar
cn flag
You locked your door, then closed the locked door behind you without a key in your pocket. No, there is no easy way to open the locked door now using ssh. If there were, it wouldn't be a useful lock.
in flag
Thanks @user535733. So better if I delete and create a new instance? No any way to solv it with aws maybe?
user535733 avatar
cn flag
I'm not familiar enough with AWS tools to say. (If I were, I'd have written an answer). I was only discussing the dismal possibility of an SSH-based solution.
in flag
Understood. Now I learnt this for good...
Score:1
fr flag

See https://stackoverflow.com/a/11776183/10266059 which addresses exactly this use case, where SSH access is no longer available.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.