systemctl restart sshd.service

Job for sshd.service failed because the control process exited with error code.

Job for sshd.service failed because the control process exited with error code. See "systemctl status sshd.service" and "journalctl -xe" for details.

解决方法:

 vi /etc/ssh/sshd_config