[root@192 ~]# systemctl start sshd [root@192 ~]# systemctl enable sshd Created symlink from /etc/systemd/system/multi-user.target.wants/sshd.service to /usr/lib/systemd/system/sshd.service. [root@192 ~]# systemctl status sshd ● sshd.service - OpenSSH server daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2023-02-24 19:01:21 CST; 9min ago Docs: man:sshd(8) man:sshd_config(5) Main PID: 9030 (sshd) CGroup: /system.slice/sshd.service └─9030 /usr/sbin/sshd -D
Feb 24 19:01:21 192.168.190.121 systemd[1]: Stopped OpenSSH server daemon. Feb 24 19:01:21 192.168.190.121 systemd[1]: Starting OpenSSH server daemon... Feb 24 19:01:21 192.168.190.121 sshd[9030]: Server listening on :: port 22. Feb 24 19:01:21 192.168.190.121 sshd[9030]: Server listening on 0.0.0.0 port 22. Feb 24 19:01:21 192.168.190.121 systemd[1]: Started OpenSSH server daemon.