[root@vm ~]# systemctl status sshd ● sshd.service - OpenSSH server daemon Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2019-07-23 15:26:10 CST; 24s ago Docs: man:sshd(8) man:sshd_config(5) Main PID: 17854 (sshd) Tasks: 1 CGroup: /system.slice/sshd.service └─17854 /usr/sbin/sshd -D
Jul 23 15:26:10 vm systemd[1]: Starting OpenSSH server daemon... Jul 23 15:26:10 vm sshd[17854]: Server listening on 0.0.0.0 port 22222. Jul 23 15:26:10 vm sshd[17854]: Server listening on :: port 22222. Jul 23 15:26:10 vm sshd[17854]: Server listening on 0.0.0.0 port 22. Jul 23 15:26:10 vm sshd[17854]: Server listening on :: port 22. Jul 23 15:26:10 vm systemd[1]: Started OpenSSH server daemon. Hint: Some lines were ellipsized, use -l to show in full.