- Newest
- Most votes
- Most comments
If configured, you can use the EC2 Serial Console for Linux to troubleshoot OS-level issues on supported Nitro-based instance types. This allows troubleshooting of boot issues, network configuration, and SSH configuration issues. Before using the serial console, grant access to it at the account level and create AWS Identity and Access Management (IAM) policies granting access to your IAM users. After configuration, connect to the EC2 instance through the EC2 serial console using a password-configured Linux user. Then run commands to verify that the SSH connections aren't being blocked by the OS firewall or TCP wrapper, and that the sshd service is running and listening on port 22ā
https://repost.aws/knowledge-center/ec2-linux-resolve-ssh-connection-errors
I was wondering how Lightsail's firewall is configured since it is an SSH timeout error.
Please check if port 22 and the IP address of the connection source are allowed in this setting.
https://lightsail.aws.amazon.com/ls/docs/en_us/articles/understanding-firewall-and-port-mappings-in-amazon-lightsail
Relevant content
- asked 3 months ago
- asked 4 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 months ago
- AWS OFFICIALUpdated 2 years ago
Hi sedat_salman,
I am not using the EC2 instance, I'm referring this issue from Lightsail Instance to Mac terminal ssh connection.
Kindly provide concise resolution, it's very long process you have mentioned
thanks
User is not asking for EC2 instance, this issue is specific to Lightsail instance