general/other Freebsd on AWS (how to login)

Attachments

Dear all,

I'm trying to login to a FreeBSD instance but keep getting a connection time out/Connection refused:
- the firewall is checked (I can login with ssh to other instances with the same security group)
- the public/private key should be ok
- with the "ec2-user" user I can't get in
- I tried the official aws ami (https://aws.amazon.com/marketplace/server/procurement?productId=ac170f9b-f71a-458c-ac8e-1bf96b74e270)
(and also some community ones (but couldn't log in into any of them)
Dear matpanske :
how to debug ssh login like as your attachement ? thanks. i got same problem with my iphone termius ssh the server . thanks.
 
man ssh

-v Verbose mode. Causes ssh to print debugging messages about its
progress. This is helpful in debugging connection,
authentication, and configuration problems. Multiple -v options
increase the verbosity. The maximum is 3.
 
Timeout or Connection refused?

Login to AWS EC2 Console. Go to Instances tab.
Click on your instance, Connect button, EC2 Serial Console tab, and try to connect.

This will open you console on serial port. This way, you can check your firewall, ssh service and other stuffs.

If there is a kernel panic or bootram that prevents the loader, you will be able to see it on the serial console.

Screen Shot 2024-09-01 at 23.28.43.png
 
Back
Top