s
Size: a a a
n
systemctl status sshd
● ssh.service - OpenBSD Secure Shell server
Loaded: loaded (/lib/systemd/system/ssh.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2021-02-04 23:05:31 EET; 1h 12min ago
Docs: man:sshd(8)
man:sshd_config(5)
Process: 779 ExecStartPre=/usr/sbin/sshd -t (code=exited, status=0/SUCCESS)
Main PID: 831 (sshd)
Tasks: 1 (limit: 19013)
Memory: 5.8M
CPU: 293ms
CGroup: /system.slice/ssh.service
└─831 sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
Warning: some journal files were not opened due to insufficient permissions.
h3x@ASUS:~$ systemctl disable sshd
Removed /etc/systemd/system/multi-user.target.wants/ssh.service.
Removed /etc/systemd/system/sshd.service.
h3x@ASUS:~$ systemctl stop sshd
Failed to stop sshd.service: Unit sshd.service not loaded.
h3x@ASUS:~$ systemctl status sshd
Unit sshd.service could not be found.
AK
ВМ
ВМ