1 Answer
- Newest
- Most votes
- Most comments
0
Hello.
What error message do you get when connecting?
For example, if you are getting a timeout error, it may be possible that the Firewall settings or the IP address of the Lightsail instance you are connecting to are different.
If browser based SSH is working I would recommend checking the SSH logs and syslog from within the Lightsail instance.
In the past, I have also seen cases where connection failed due to incorrect permission settings for the private key.
Therefore, you can also try resetting the permissions on your private key with the following command.
chmod 400 path/to/your.pem
Relevant content
- asked 2 years ago
- asked 10 months ago
- asked 3 years ago
