If you connect to the server via ssh, it will directly report Connection closedIt’s been working fine for 2 months...what’s going on
Check whether the ssh service is enabled directly on the physical machine
service sshd status
Or use the telnet command to check whether the ssh port is open
telnet <host> <port>
Check whether the ssh service is enabled directly on the physical machine
Or use the telnet command to check whether the ssh port is open