^2
Так он не запускается даже
отлично. то есть демон ssh не работает?
Oct 13 19:59:45 samp-dayz systemd[1]: ssh.service: Unit entered failed state. Oct 13 19:59:45 samp-dayz systemd[1]: ssh.service: Failed with result 'exit-code'. Oct 13 19:59:45 samp-dayz systemd[1]: ssh.service: Service hold-off time over, scheduling restart. Oct 13 19:59:45 samp-dayz systemd[1]: Stopped OpenBSD Secure Shell server. Oct 13 19:59:45 samp-dayz systemd[1]: ssh.service: Start request repeated too quickly. Oct 13 19:59:45 samp-dayz systemd[1]: Failed to start OpenBSD Secure Shell server. Oct 13 19:59:45 samp-dayz systemd[1]: ssh.service: Unit entered failed state. Oct 13 19:59:45 samp-dayz systemd[1]: ssh.service: Failed with result 'exit-code'.
ну это лог самого системд. А journalctl -eu ssh.service что показывает?
● ssh.service - OpenBSD Secure Shell server Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Tue 2020-10-13 19:59:45 BST; 18s ago Docs: man:sshd(8) man:sshd_config(5) Process: 20409 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=1/FAILURE)
это не journalctl, это вывод systemctl status
Ааа, не то скопировал
Обсуждают сегодня