- I am trying to connect to my AWS EC2 instance from
gitbash
in windows10 machine. I am using the below command in ssh.
ssh: connect to host ec2-XX-XX-XX-XX.compute-1.amazonaws.com port 22: Connection timed out
I have tried connecting from a terminal in linux machine also, But same
"connection times out"
errors is what i get. 2. Tried Putty but i get the same error as abiove
UserName@PC-NAME1 MINGW64 /c $ ssh -i "portfolioec2key.pem" [email protected] ssh: connect to host ec2-3-94-109-39.compute-1.amazonaws.com port 22: Connection timed out