In Linux system operations, it is common to connect to other hosts. The service that enables remote connections is openssh-server, which allows remote hosts to access the sshd service over the network. If the sshd service is restarted, the sshd configuration may have been maliciously modified.
If the sshd service has been restarted, review all configuration files under /etc/ssh/. Be sure to carefully examine the host environment for signs of intrusion, and change the host user password.