I have a .ppk private key downloaded from EC2.
I need to use it with SSH on Windows instead of PuTTY, so I loaded the file into PuTTYgen, then clicked “Conversions” and then selected “Export OpenSSH key”. I saved it as “key.pem”
Then I tried to SSH from the terminal to the EC2 using the public IP address, just as I do in PuTTY (just with the .ppk )
ssh -i "C:UsersMedownloadskey.pem" ubuntu@1.111.121.11
but I get the following in the logs:
OpenSSH_for_Windows_9.5p2, LibreSSL 3.8.2
debug1: Reading configuration data C:\Users\Me/.ssh/config
debug1: C:\Users\Me/.ssh/config line 1: Applying options for 1.111.121.11
debug3: Failed to open file:C:/ProgramData/ssh/ssh_config error:2
debug2: resolve_canonicalize: hostname 1.111.121.11 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> 'C:\Users\Me/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> 'C:\Users\Me/.ssh/known_hosts2'
debug3: ssh_connect_direct: entering
debug1: Connecting to 1.111.121.11 [1.111.121.11] port 22.
debug3: finish_connect - ERROR: async io completed with error: 10060, io:0000016D6D97CF40
debug1: connect to address 1.111.121.11 port 22: Connection timed out
ssh: connect to host 1.111.121.11 port 22: Connection timed out