[root@s1 ~]# journalctl -u sshd.service --since "2021-09-30 09:00" --until "2021-09-30 10:00" -- Logs begin at Thu 2021-09-30 09:49:15 CST, end at Thu 2021-09-30 10:39:52 CST. -- 9月 30 09:49:35 s1.ths.com.cn systemd[1]: Starting OpenSSH server daemon... 9月 30 09:49:36 s1.ths.com.cn sshd[1091]: Server listening on 0.0.0.0 port 22. 9月 30 09:49:36 s1.ths.com.cn sshd[1091]: Server listening on :: port 22. 9月 30 09:49:36 s1.ths.com.cn systemd[1]: Started OpenSSH server daemon. 9月 30 09:49:41 s1.ths.com.cn sshd[1314]: Accepted password for root from 192.168.111.1 port 12424 ssh2 9月 30 09:49:41 s1.ths.com.cn sshd[1314]: pam_unix(sshd:session): session opened for user root by (uid=0)