ssh: connect to host 139.xxx.xxx.xxx port 22: Connection refused
Today I try to connect my server via SSH, but I got this message. What can I do to fix it?
============================================
Tried to connect again, now it's working. Strange I did nothing.
2 Replies
You write:
Today I try to connect my server via SSH, but I got this message. What can I do to fix it?
Tried to connect again, now it's working. Strange I did nothing.
This sounds like an sshd(8) connection timeout issue. See here:
https://www.tecmint.com/increase-ssh-connection-timeout/
for an explanation of the various sshd(8) configuration parameter related to timeouts and simultaneous connections.
-- sw
Thanks for the information.