ablog

不器用で落着きのない技術者のメモ

Amazon Linux 2023 で sshd のログを確認する

$ sudo journalctl -u sshd
Apr 01 00:51:17 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[2155]: Server listening on 0.0.0.0 port 22.
Apr 01 00:51:17 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[2155]: Server listening on :: port 22.
Apr 01 00:51:17 ip-172-31-29-44.ap-northeast-1.compute.internal systemd[1]: Starting sshd.service - OpenSSH server daemon...
Apr 01 00:51:17 ip-172-31-29-44.ap-northeast-1.compute.internal systemd[1]: Started sshd.service - OpenSSH server daemon.
Apr 01 00:51:47 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[2295]: Accepted publickey for ec2-user from 27.0.3.153 port 9559 ssh2: RSA SHA256:Cs3EDupiG0ybMNJemrbwDgT>
Apr 01 00:51:48 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[2295]: pam_unix(sshd:session): session opened for user ec2-user(uid=1000) by (uid=0)
Apr 01 00:52:54 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[2563]: Accepted publickey for ec2-user from 27.0.3.153 port 29383 ssh2: RSA SHA256:Cs3EDupiG0ybMNJemrbwDg>
Apr 01 00:52:55 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[2563]: pam_unix(sshd:session): session opened for user ec2-user(uid=1000) by (uid=0)
Apr 01 00:52:55 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[2563]: pam_unix(sshd:session): session closed for user ec2-user
Apr 01 00:54:02 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[2687]: Accepted publickey for ec2-user from 27.0.3.153 port 2323 ssh2: RSA SHA256:Cs3EDupiG0ybMNJemrbwDgT>
Apr 01 00:54:02 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[2687]: pam_unix(sshd:session): session opened for user ec2-user(uid=1000) by (uid=0)
Apr 01 00:55:21 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[2766]: Accepted publickey for ec2-user from 27.0.3.153 port 4847 ssh2: RSA SHA256:Cs3EDupiG0ybMNJemrbwDgT>
Apr 01 00:55:22 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[2766]: pam_unix(sshd:session): session opened for user ec2-user(uid=1000) by (uid=0)
Apr 01 00:59:38 ip-172-31-29-44.ap-northeast-1.compute.internal systemd[1]: Stopping sshd.service - OpenSSH server daemon...
Apr 01 00:59:38 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[2155]: Received signal 15; terminating.
Apr 01 00:59:38 ip-172-31-29-44.ap-northeast-1.compute.internal systemd[1]: sshd.service: Deactivated successfully.
Apr 01 00:59:38 ip-172-31-29-44.ap-northeast-1.compute.internal systemd[1]: Stopped sshd.service - OpenSSH server daemon.
Apr 01 00:59:38 ip-172-31-29-44.ap-northeast-1.compute.internal systemd[1]: Starting sshd.service - OpenSSH server daemon...
Apr 01 00:59:38 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[2986]: Server listening on 0.0.0.0 port 22.
Apr 01 00:59:38 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[2986]: Server listening on :: port 22.
Apr 01 00:59:38 ip-172-31-29-44.ap-northeast-1.compute.internal systemd[1]: Started sshd.service - OpenSSH server daemon.
Apr 01 01:00:13 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[3032]: userauth_pubkey: certificate signature algorithm ssh-rsa: signature algorithm not supported [preau>
Apr 01 01:00:21 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[3032]: Accepted password for ec2-user from 27.0.3.153 port 21587 ssh2
Apr 01 01:00:21 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[3032]: pam_unix(sshd:session): session opened for user ec2-user(uid=1000) by (uid=0)
Apr 01 01:03:50 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[3230]: userauth_pubkey: certificate signature algorithm ssh-rsa: signature algorithm not supported [preau>
Apr 01 01:03:58 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[3230]: Accepted password for ec2-user from 27.0.3.153 port 21957 ssh2
Apr 01 01:03:58 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[3230]: pam_unix(sshd:session): session opened for user ec2-user(uid=1000) by (uid=0)
Apr 01 01:15:13 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[3571]: Accepted password for ec2-user from 20.43.64.145 port 11264 ssh2 ★ Azure Data Factory からの接続
Apr 01 01:15:13 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[3571]: pam_unix(sshd:session): session opened for user ec2-user(uid=1000) by (uid=0)
Apr 01 01:15:13 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[3571]: pam_unix(sshd:session): session closed for user ec2-user
Apr 01 01:16:13 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[3641]: userauth_pubkey: certificate signature algorithm ssh-rsa: signature algorithm not supported [preau>
Apr 01 01:16:24 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[3641]: Accepted password for ec2-user from 27.0.3.153 port 3813 ssh2
Apr 01 01:16:24 ip-172-31-29-44.ap-northeast-1.compute.internal sshd[3641]: pam_unix(sshd:session): session opened for user ec2-user(uid=1000) by (uid=0)