Daniel
Daniel

Reputation: 23359

Network setup, SSH connection timeout with AWS and .pem

I'm trying to log into my AWS server via SSH, it's set up with a .pem permissions file for extra security, I've added my IP to the security groups correctly, but when I try to connect, I get an operation timeout.

I thought maybe the Network settings were blocking outbound SSH, but I could connect to another server, this one didn't have any .pem file, only usual password.

I'm wondering if the network handles connections differently with a .pem file ?

The fact I can connect to SSH on this other server, I'm assuming the network outbound connection is handled differently maybe by the firewall when a permissions file is involved.

Any suggestions ?

Upvotes: 1

Views: 1771

Answers (1)

CJ Travis
CJ Travis

Reputation: 536

What is the output when you try the following:

ssh -vvv -i foobar.pem user@my-amazon-host

Upvotes: 1

Related Questions