I have a CentOS Linux server with a SSH connection. It works perfectly but from time to time, the server refuses the connection.
If I reboot the server, I can SSH again.
What could be wrong?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
sshd on the server in debug mode (
-d, you can go up to
-ddd) to get additional info. You can do this even remotely if don't happen to have the server under your table: log in, and then you can start another sshd instance on a different port with the
-p option and try to log on into this instance.