I have an OCI instance running Rocky Linux 9.2. It is running a production website but for some reason I have suddenly stopped being able to log in with SSH.
I have tested the connection to port 22 by using another OCI instance on the same subnet and security list.
I can confirm by checking /etc/secure.log via the web console that connections are reaching the server on port 22. There are messages of rejected root logins and I see an error of: "fatal: Timeout before authentication" that appears when I try to log in with an SSH client.
I know my password is correct (tested and working recently) and I have tested with valid ssh keys too (again recently working). I have tested from different locations around the globe just to be sure and all fail with the same message.
The SSH client gives me a message of: Operation timed out.
So I have ruled out firewall, security lists, sshd server running, and client error.
I have searched and searched the internet for the last couple of days but I could not find anyone with exactly these same symptoms. One of the closest things I found was a reference to changing the system limits that caused the loss of SSH for someone: Increase FD limitation then SSH not working?
I had been editing my /etc/sysctl.config but the problem persists even after undoing the few changes I made (and rebooting).
I am stumped and would appreciate any pointers to what I might try next.
Thank you!