Restart SSD service in Linux
[root@oraclesrc-2 ~]#
[root@oraclesrc-2 ~]# vi /etc/ssh/sshd_config
[root@oraclesrc-2 ~]#
[root@oraclesrc-2 ~]#
[root@oraclesrc-2 ~]# systemctl status sshd.service
● sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2024-05-10 12:11:33 UTC; 1h 3min ago
Docs: man:sshd(8)
man:sshd_config(5)
Main PID: 3883 (sshd)
Tasks: 1
Memory: 3.6M
CGroup: /system.slice/sshd.service
└─3883 /usr/sbin/sshd -D
May 10 12:11:33 oraclesrc-2 sshd[3883]: Server listening on :: port 22.
May 10 12:11:33 oraclesrc-2 systemd[1]: Started OpenSSH server daemon.
May 10 12:11:47 oraclesrc-2 sshd[3896]: reverse mapping checking getaddrinfo for 192.240.103.in-addr.tripleplay.in [103.240...TTEMPT!
May 10 12:11:50 oraclesrc-2 sshd[3896]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= r...=oracle
May 10 12:11:51 oraclesrc-2 sshd[3896]: Failed password for oracle from 10.0.0.0 port 3952 ssh2
May 10 12:11:56 oraclesrc-2 sshd[3896]: Failed password for oracle from 10.0.0.0 port 3952 ssh2
May 10 12:12:17 oraclesrc-2 sshd[3896]: Accepted password for oracle from 10.0.0.0 port 3952 ssh2
May 10 12:12:19 oraclesrc-2 sshd[3982]: reverse mapping checking getaddrinfo for 192.240.103.in-addr.tripleplay.in [103.240...TTEMPT!
May 10 12:12:20 oraclesrc-2 sshd[3982]: Accepted password for oracle from 10.0.0.0 port 3969 ssh2
May 10 12:16:22 oraclesrc-2 sshd[4671]: Accepted publickey for azureadm from 10.0.1.4 port 44574 ssh2: RSA SHA256:/3WBXn4cT...7muuY2k
Hint: Some lines were ellipsized, use -l to show in full.
[root@oraclesrc-2 ~]#
[root@oraclesrc-2 ~]#
[root@oraclesrc-2 ~]# systemctl restart sshd.service
[root@oraclesrc-2 ~]#
[root@oraclesrc-2 ~]#
No comments:
Post a Comment