在ubuntu下如何查看相关用户登录历史,用户操作历史,进行系统的日志跟踪和分析,以便发现系统登录问题,进行安全策略防护呢?

使用who命令查看当前用户登录状况
ubuntu@mail:~$ who

root     tty1         2022-12-06 17:33
huawei   pts/0        2022-12-06 20:21 (27.158.11.113)
root     pts/1        2022-12-06 21:05 (27.158.11.113)
root     pts/2        2022-12-06 21:08 (27.158.11.113)


使用last命令查看最近登录情况
last命令列出最近一段时间的用户登录时间及ip记录。(单独执行last指令,它会读取位于/var/log目录下,名称为wtmp的文件,并把该给文件的内容记录的登入系统的用户名单全部显示出来)

root@mail:/home/ubuntu-xz# last

root     pts/2        27.158.11.113    Tue Dec  6 21:08   still logged in
root     pts/1        27.158.11.113    Tue Dec  6 21:05   still logged in
huawei   pts/0        27.158.11.113    Tue Dec  6 20:21   still logged in
root     pts/1        27.158.11.113    Tue Dec  6 19:48 - 19:59  (00:10)
huawei   pts/0        27.158.11.113    Tue Dec  6 19:47 - 19:59  (00:11)
huawei   pts/1        27.158.11.113    Tue Dec  6 17:36 - 17:37  (00:00)
root     tty1                          Tue Dec  6 17:33   still logged in
huawei   tty1                          Tue Dec  6 17:16 - 17:31  (00:14)
huawei   pts/1        27.158.11.113    Tue Dec  6 17:10 - 17:16  (00:05)
root     pts/0        27.158.11.113    Tue Dec  6 16:15 - 19:47  (03:32)
root     pts/0        27.158.11.113    Mon Dec  5 20:01 - 23:06  (03:04)
root     pts/0        27.158.11.113    Sun Dec  4 22:57 - 23:14  (00:17)
root     pts/2        27.158.11.113    Sat Dec  3 18:27 - 18:29  (00:02)
root     pts/1        27.158.11.113    Sat Dec  3 16:07 - 18:29  (02:22)
root     pts/0        27.158.11.113    Sat Dec  3 16:01 - 23:28  (07:27)
odoo     pts/0        109.206.241.70   Thu Nov 24 17:02 - 17:02  (00:00)
root     pts/0        27.158.11.39     Sat Nov 19 10:07 - 12:03  (01:56)
root     pts/0        27.158.11.39     Fri Nov 18 20:46 - 23:11  (02:24)
root     pts/1        27.158.11.39     Thu Nov 17 19:36 - 19:36  (00:00)
root     pts/0        27.158.11.39     Thu Nov 17 19:28 - 23:11  (03:42)
root     pts/0        121.206.39.252   Wed Nov 16 16:04 - 16:07  (00:03)
root     pts/1        121.206.39.252   Tue Nov 15 10:35 - 11:52  (01:17)
root     pts/0        121.206.39.252   Tue Nov 15 10:05 - 11:52  (01:47)
root     pts/3        121.206.39.252   Mon Nov 14 14:06 - 19:05  (04:59)
root     pts/2        121.206.39.252   Mon Nov 14 13:58 - 20:48  (06:50)
root     pts/1        121.206.39.252   Mon Nov 14 10:27 - 14:51  (04:24)
root     pts/0        121.206.39.252   Mon Nov 14 10:21 - 14:53  (04:31)
root     pts/0        121.206.39.252   Mon Nov 14 10:06 - 10:21  (00:15)
root     pts/0        121.206.39.252   Mon Nov 14 09:17 - 09:38  (00:20)
root     pts/0        121.206.39.252   Sun Nov 13 22:14 - 23:40  (01:26)
root     pts/1        121.206.39.252   Sun Nov 13 19:09 - 23:40  (04:30)
root     pts/0        121.206.39.252   Sun Nov 13 15:18 - 20:18  (05:00)
root     pts/0        140.224.176.204  Sat Oct 15 10:23 - 10:27  (00:04)
root     pts/0        220.161.60.52    Sat Oct  8 15:14 - 15:22  (00:07)
odoo     pts/0        129.56.56.74     Fri Sep 23 08:15 - 08:15  (00:00)
root     pts/0        121.206.39.7     Wed Aug 17 23:05 - 23:41  (00:35)
root     pts/0        140.224.176.86   Mon Aug 15 10:05 - 12:18  (02:13)
root     pts/0        218.67.9.244     Wed Aug  3 10:32 - 12:45  (02:13)
root     pts/1        218.67.9.243     Tue Aug  2 15:28 - 17:40  (02:12)
root     pts/0        218.67.9.243     Tue Aug  2 15:12 - 17:34  (02:21)
root     pts/0        140.224.176.5    Sun May 15 20:13 - 23:14  (03:00)
root     pts/1        101.105.183.196  Thu Apr  7 09:23 - 09:24  (00:00)
root     pts/0        101.105.183.196  Thu Apr  7 09:23 - 09:24  (00:00)
root     pts/1        101.105.183.196  Thu Apr  7 09:22 - 09:22  (00:00)
root     pts/0        101.105.183.196  Thu Apr  7 09:22 - 09:22  (00:00)
root     pts/1        101.105.183.196  Thu Apr  7 09:21 - 09:22  (00:00)
root     pts/0        101.105.183.196  Thu Apr  7 09:21 - 09:22  (00:00)
root     pts/1        58.23.161.56     Wed Feb 23 16:53 - 23:10  (06:16)
root     pts/0        58.23.161.56     Wed Feb 23 11:00 - 23:10  (12:10)
root     pts/0        58.23.161.56     Tue Feb 22 22:22 - 22:38  (00:15)
root     pts/0        58.23.161.56     Mon Feb 21 23:44 - 23:48  (00:04)
root     pts/0        58.23.161.56     Fri Feb 11 10:49 - 23:11  (12:21)
root     pts/2        58.23.161.56     Mon Feb  7 10:32 - 13:15  (02:42)
root     pts/1        58.23.161.56     Mon Feb  7 10:27 - 23:13  (12:46)
root     pts/0        58.23.161.56     Mon Feb  7 10:24 - 23:13  (12:49)
root     pts/1        36.249.201.45    Mon Jan 31 13:29 - 15:50  (02:21)
root     pts/0        36.249.201.45    Mon Jan 31 11:53 - 15:50  (03:57)
root     pts/2        36.249.201.45    Sun Jan 30 20:10 - 00:04  (03:53)
root     pts/1        36.249.201.45    Sun Jan 30 16:11 - 00:04  (07:52)
root     pts/0        36.249.201.45    Sun Jan 30 12:14 - 00:04  (11:49)
root     pts/1        36.249.200.175   Fri Jan 21 20:33 - 20:45  (00:11)
root     pts/2        101.105.220.16   Fri Jan 21 17:15 - 17:23  (00:07)
root     pts/1        101.105.220.16   Fri Jan 21 17:15 - 17:23  (00:07)
root     pts/0        36.249.200.175   Fri Jan 21 10:19 - 00:07  (13:48)
root     pts/1        36.249.200.175   Thu Jan 20 16:23 - 23:40  (07:17)
root     pts/0        36.249.200.175   Thu Jan 20 10:20 - 23:40  (13:20)
root     pts/4        36.249.200.175   Wed Jan 19 17:57 - 23:26  (05:29)
postgres pts/5        36.249.200.175   Wed Jan 19 14:45 - 14:45  (00:00)
postgres pts/4        36.249.200.175   Wed Jan 19 14:45 - 14:49  (00:04)
odoo     pts/4        36.249.200.175   Wed Jan 19 14:43 - 14:43  (00:00)
odoo     pts/4        36.249.200.175   Wed Jan 19 14:42 - 14:42  (00:00)
odoo     pts/3        36.249.200.175   Wed Jan 19 14:36 - 23:26  (08:49)
root     pts/4        101.105.220.16   Wed Jan 19 11:36 - 11:36  (00:00)
root     pts/3        101.105.220.16   Wed Jan 19 11:36 - 11:36  (00:00)
root     pts/2        36.249.200.175   Wed Jan 19 10:27 - 20:55  (10:27)
root     pts/1        36.249.200.175   Wed Jan 19 09:01 - 23:26  (14:25)
root     pts/0        36.249.200.175   Wed Jan 19 08:59 - 23:26  (14:27)
omanager pts/5        36.249.200.175   Tue Jan 18 23:24 - 00:20  (00:55)
omanager pts/5        36.249.200.175   Tue Jan 18 23:22 - 23:24  (00:02)
omanager pts/5        36.249.200.175   Tue Jan 18 23:21 - 23:22  (00:00)
root     pts/10       36.249.200.175   Tue Jan 18 21:29 - 22:03  (00:34)
root     pts/9        36.249.200.175   Tue Jan 18 21:08 - 22:45  (01:36)
root     pts/8        36.249.200.175   Tue Jan 18 21:05 - 00:22  (03:16)
root     pts/7        36.249.200.175   Tue Jan 18 21:02 - 00:20  (03:18)
root     pts/6        36.249.200.175   Tue Jan 18 20:43 - 00:20  (03:36)
root     pts/5        36.249.200.175   Tue Jan 18 20:38 - 22:51  (02:12)
root     pts/4        36.249.200.175   Tue Jan 18 20:04 - 00:20  (04:16)
root     pts/3        36.249.200.175   Tue Jan 18 20:00 - 00:20  (04:20)
root     pts/2        36.249.200.175   Tue Jan 18 19:48 - 00:20  (04:31)
root     pts/0        36.249.200.175   Tue Jan 18 19:48 - 00:20  (04:32)
root     pts/4        36.249.200.175   Tue Jan 18 19:43 - 19:48  (00:04)
root     pts/0        36.249.200.175   Tue Jan 18 19:33 - 19:47  (00:14)
root     pts/1        36.249.200.175   Tue Jan 18 19:31 - 00:22  (04:50)
root     pts/2        36.249.200.175   Tue Jan 18 17:13 - 19:47  (02:33)
root     pts/4        36.249.200.175   Tue Jan 18 16:36 - 17:28  (00:51)
root     pts/3        36.249.200.175   Tue Jan 18 16:25 - 19:56  (03:31)
root     pts/2        36.249.200.175   Tue Jan 18 15:46 - 16:37  (00:50)
root     pts/0        36.249.200.175   Tue Jan 18 15:40 - 19:33  (03:52)
root     pts/0        36.249.200.175   Tue Jan 18 15:38 - 15:40  (00:02)
root     pts/1        36.249.200.98    Tue Jan 18 14:30 - 17:50  (03:19)
root     pts/5        36.249.200.98    Tue Jan 18 13:02 - 17:50  (04:47)
root     pts/4        36.249.200.47    Tue Jan 18 12:55 - 15:10  (02:14)
root     pts/3        36.249.200.47    Tue Jan 18 10:57 - 15:06  (04:09)
root     pts/2        36.249.200.47    Tue Jan 18 10:31 - 13:09  (02:38)
root     pts/1        36.249.200.47    Tue Jan 18 10:23 - 13:51  (03:28)
root     pts/2        101.105.219.254  Tue Jan 18 10:20 - 10:22  (00:02)
root     pts/1        101.105.219.254  Tue Jan 18 10:20 - 10:22  (00:02)
root     pts/0        36.249.200.47    Tue Jan 18 10:12 - 15:06  (04:53)
root     pts/5        36.249.200.47    Mon Jan 17 21:25 - 23:51  (02:26)
root     pts/4        36.249.200.47    Mon Jan 17 21:13 - 23:51  (02:38)
root     pts/3        36.249.200.47    Mon Jan 17 20:38 - 00:08  (03:29)
root     pts/2        36.249.200.47    Mon Jan 17 19:23 - 23:51  (04:28)
root     pts/4        36.249.200.47    Mon Jan 17 18:43 - 18:44  (00:00)
root     pts/2        36.249.200.47    Mon Jan 17 18:43 - 18:44  (00:00)
root     pts/3        36.249.200.47    Mon Jan 17 18:40 - 20:17  (01:37)
root     pts/1        36.249.200.47    Mon Jan 17 18:39 - 23:51  (05:11)
root     pts/1        36.249.200.47    Mon Jan 17 16:48 - 18:25  (01:37)
root     pts/3        36.249.200.47    Mon Jan 17 11:13 - 14:03  (02:50)
root     pts/2        36.249.200.47    Mon Jan 17 09:18 - 18:42  (09:24)
root     pts/1        36.249.200.47    Mon Jan 17 09:16 - 16:34  (07:18)
root     pts/0        36.249.200.47    Mon Jan 17 09:12 - 23:51  (14:38)
root     pts/2        36.249.200.47    Sun Jan 16 23:50 - 23:59  (00:08)
root     pts/1        36.249.200.47    Sun Jan 16 21:59 - 01:32  (03:33)
root     pts/0        36.249.200.47    Sun Jan 16 21:41 - 23:59  (02:18)
root     pts/1        36.249.200.47    Fri Jan 14 14:06 - 23:21  (09:15)
root     pts/1        36.249.200.47    Fri Jan 14 10:45 - 13:36  (02:51)
root     pts/0        36.249.200.47    Fri Jan 14 10:37 - 23:21  (12:44)
root     pts/2        36.249.200.47    Thu Jan 13 15:06 - 19:31  (04:24)
root     pts/1        36.249.200.47    Wed Jan 12 21:09 - down   (00:55)
root     pts/0        36.249.200.47    Wed Jan 12 20:16 - down   (01:48)
root     pts/3        36.249.200.47    Wed Jan 12 17:33 - 20:33  (02:59)
root     pts/4        36.249.200.47    Wed Jan 12 16:45 - 16:45  (00:00)
root     pts/4        36.249.200.47    Wed Jan 12 16:45 - 16:45  (00:00)
root     pts/4        36.249.200.47    Wed Jan 12 16:45 - 16:45  (00:00)
root     pts/4        36.249.200.47    Wed Jan 12 16:41 - 16:45  (00:03)
root     pts/3        36.249.200.47    Wed Jan 12 16:41 - 16:59  (00:17)
root     pts/2        36.249.200.47    Wed Jan 12 12:08 - down   (09:56)
root     pts/1        36.249.200.47    Wed Jan 12 11:15 - 21:07  (09:52)
root     pts/0        36.249.200.47    Wed Jan 12 11:10 - 17:48  (06:37)
root     pts/2        36.249.200.47    Tue Jan 11 23:18 - 00:23  (01:04)
root     pts/0        36.249.200.47    Tue Jan 11 21:53 - 00:23  (02:29)
root     pts/2        36.249.200.47    Tue Jan 11 21:39 - 23:09  (01:30)
root     pts/2        36.249.200.47    Tue Jan 11 15:16 - 21:38  (06:22)
root     pts/1        36.249.200.47    Tue Jan 11 14:31 - 00:23  (09:51)
root     pts/0        36.249.200.47    Tue Jan 11 13:15 - 21:53  (08:37)
root     pts/2        36.249.200.47    Tue Jan 11 13:09 - 15:16  (02:06)
root     pts/1        36.249.200.47    Tue Jan 11 12:22 - 14:31  (02:08)
root     pts/0        36.249.200.47    Tue Jan 11 12:12 - 13:15  (01:02)
reboot   system boot  5.4.0-66-generic Tue Jan 11 12:10 - 22:05 (1+09:54)
reboot   system boot  5.4.0-66-generic Fri Jan  7 18:36 - 12:10 (3+17:33)

wtmp begins Wed Feb 24 19:50:53 2021


使用lastlog命令查看各个用户登录情况
lastlog命令列出了各个用户的登录情况,如果没有登录过,则显示Never logged in,如果有登录历史,则显示出ip及登录时间。

ubuntu@mail:~$ lastlog

Username         Port     From             Latest
root             pts/2    27.158.11.113    Tue Dec  6 21:08:22 +0800 2022
daemon                                     **Never logged in**
bin                                        **Never logged in**
sys                                        **Never logged in**
sync                                       **Never logged in**
games                                      **Never logged in**
man                                        **Never logged in**
lp                                         **Never logged in**
mail                                       **Never logged in**
news                                       **Never logged in**
uucp                                       **Never logged in**
proxy                                      **Never logged in**
www-data                                   **Never logged in**
backup                                     **Never logged in**
list                                       **Never logged in**
irc                                        **Never logged in**
gnats                                      **Never logged in**
nobody                                     **Never logged in**
systemd-network                            **Never logged in**
systemd-resolve                            **Never logged in**
systemd-timesync                           **Never logged in**
messagebus                                 **Never logged in**
syslog                                     **Never logged in**
_apt                                       **Never logged in**
tss                                        **Never logged in**
uuidd                                      **Never logged in**
tcpdump                                    **Never logged in**
sshd                                       **Never logged in**
landscape                                  **Never logged in**
pollinate                                  **Never logged in**
_chrony                                    **Never logged in**
dnsmasq                                    **Never logged in**
systemd-coredump                           **Never logged in**
postgres         pts/5    36.249.200.175   Wed Jan 19 14:45:30 +0800 2022
odoo             pts/0    109.206.241.70   Thu Nov 24 17:02:20 +0800 2022
omanager         pts/5    36.249.200.175   Tue Jan 18 23:24:41 +0800 2022
huawei           pts/0    27.158.11.113    Tue Dec  6 20:21:22 +0800 2022
root             pts/2    27.158.11.113    Tue Dec  6 21:08:22 +0800 2022
nobody                                     **Never logged in**




查看/var/log/auth.log文件,分析用户登录及行为
通过查看auth.log,可以分析出用户尝试登录情况,以及退出历史;

ubuntu@mail:~$ cat /var/log/auth.log |more


Dec  6 21:17:55 mail sshd[1069156]: Connection closed by 165.22.120.248 port 41440 [preauth]
Dec  6 21:18:00 mail sshd[1069160]: Connection closed by 165.22.120.248 port 41454 [preauth]
Dec  6 21:18:05 mail sshd[1069163]: Connection closed by 165.22.120.248 port 55760 [preauth]
Dec  6 21:18:11 mail sshd[1069165]: Connection closed by 165.22.120.248 port 55768 [preauth]
Dec  6 21:18:14 mail sshd[1069167]: Connection closed by 165.22.120.248 port 51098 [preauth]
Dec  6 21:18:17 mail sshd[1069115]: error: connect_to 87.98.225.34 port 22: failed.
Dec  6 21:18:18 mail sshd[1069115]: error: connect_to 13.236.39.224 port 22: failed.
Dec  6 21:18:18 mail sshd[1069115]: error: connect_to 35.188.158.224 port 22: failed.
Dec  6 21:18:19 mail sshd[1069115]: error: connect_to 180.102.25.190 port 22: failed.
Dec  6 21:18:19 mail sshd[1069115]: error: connect_to 98.18.255.61 port 22: failed.
Dec  6 21:18:21 mail sshd[1069173]: Connection closed by 165.22.120.248 port 51112 [preauth]
Dec  6 21:18:21 mail sshd[1069115]: error: connect_to 104.198.67.95 port 22: failed.
Dec  6 21:18:21 mail sshd[1069115]: error: connect_to 192.219.30.124 port 22: failed.
Dec  6 21:18:22 mail sshd[1069115]: error: connect_to 3.111.58.103 port 22: failed.
Dec  6 21:18:23 mail sshd[1069115]: error: connect_to 47.196.73.155 port 22: failed.
Dec  6 21:18:23 mail sshd[1069115]: error: connect_to 192.173.221.28 port 22: failed.
Dec  6 21:18:24 mail sshd[1069115]: error: connect_to 185.238.169.125 port 22: failed.
Dec  6 21:18:25 mail sshd[1069115]: error: connect_to 185.244.48.252 port 22: failed.
Dec  6 21:18:25 mail sshd[1069115]: error: connect_to 47.96.30.235 port 22: failed.
Dec  6 21:18:25 mail sshd[1069115]: error: connect_to 186.129.89.254 port 22: failed.
Dec  6 21:18:26 mail sshd[1069182]: Connection closed by 165.22.120.248 port 56254 [preauth]
Dec  6 21:18:26 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:18:26 mail sshd[1069115]: error: connect_to 85.194.108.54 port 22: failed.
Dec  6 21:18:27 mail sshd[1069115]: error: connect_to 121.12.74.206 port 22: failed.
Dec  6 21:18:27 mail sshd[1069115]: error: connect_to 182.207.98.26 port 22: failed.
Dec  6 21:18:29 mail sshd[1069115]: error: connect_to 209.127.106.63 port 22: failed.
Dec  6 21:18:29 mail sshd[1069115]: error: connect_to 169.45.14.195 port 22: failed.
Dec  6 21:18:30 mail sshd[1069115]: error: connect_to 89.43.111.131 port 22: failed.
Dec  6 21:18:31 mail sshd[1069186]: Connection closed by 165.22.120.248 port 56258 [preauth]
Dec  6 21:18:31 mail sshd[1069115]: error: connect_to 168.119.161.138 port 22: failed.
Dec  6 21:18:32 mail sshd[1069115]: error: connect_to 171.5.76.219 port 22: failed.
Dec  6 21:18:32 mail sshd[1069115]: error: connect_to 60.218.54.117 port 22: failed.
Dec  6 21:18:33 mail sshd[1069115]: error: connect_to 65.93.82.7 port 22: failed.
Dec  6 21:18:34 mail sshd[1069115]: error: connect_to 172.99.120.28 port 22: failed.
Dec  6 21:18:35 mail sshd[1069115]: error: connect_to 34.213.110.18 port 22: failed.
Dec  6 21:18:36 mail sshd[1069115]: error: connect_to 151.248.115.157 port 22: failed.
Dec  6 21:18:36 mail sshd[1069115]: error: connect_to 137.184.43.83 port 22: failed.
Dec  6 21:18:36 mail sshd[1069115]: error: connect_to 185.128.224.55 port 22: failed.
Dec  6 21:18:37 mail sshd[1069115]: error: connect_to 34.96.139.146 port 22: failed.
Dec  6 21:18:37 mail sshd[1069115]: error: connect_to 3.34.125.244 port 22: failed.
Dec  6 21:18:38 mail sshd[1069191]: Connection closed by 165.22.120.248 port 34360 [preauth]
Dec  6 21:18:40 mail sshd[1069115]: error: connect_to 155.97.22.63 port 22: failed.
Dec  6 21:18:40 mail sshd[1069115]: error: connect_to 52.15.93.74 port 22: failed.
Dec  6 21:18:40 mail sshd[1069193]: Connection closed by 165.22.120.248 port 34386 [preauth]
Dec  6 21:18:40 mail sshd[1069115]: error: connect_to 107.186.139.27 port 22: failed.
Dec  6 21:18:40 mail sshd[1069115]: error: connect_to 123.103.195.109 port 22: failed.
Dec  6 21:18:41 mail sshd[1069115]: error: connect_to 208.81.173.251 port 22: failed.
Dec  6 21:18:41 mail sshd[1069115]: error: connect_to 156.250.10.9 port 22: failed.
Dec  6 21:18:42 mail sshd[1069115]: error: connect_to 129.228.5.14 port 22: failed.
Dec  6 21:18:43 mail sshd[1069115]: error: connect_to 89.8.151.24 port 22: failed.
Dec  6 21:18:43 mail sshd[1069115]: error: connect_to 186.94.213.176 port 22: failed.
Dec  6 21:18:44 mail sshd[1069115]: error: connect_to 14.49.145.170 port 22: failed.
Dec  6 21:18:44 mail sshd[1069115]: error: connect_to 121.168.204.13 port 22: failed.
Dec  6 21:18:45 mail sshd[1069196]: Connection closed by 165.22.120.248 port 58504 [preauth]
Dec  6 21:18:45 mail sshd[1069115]: error: connect_to 200.1.235.152 port 22: failed.
Dec  6 21:18:46 mail sshd[1069115]: error: connect_to 77.223.94.214 port 22: failed.
Dec  6 21:18:46 mail sshd[1069115]: error: connect_to 47.241.254.38 port 22: failed.
Dec  6 21:18:47 mail sshd[1069115]: error: connect_to 110.88.16.227 port 22: failed.
Dec  6 21:18:48 mail sshd[1069115]: error: connect_to 212.7.193.146 port 22: failed.
Dec  6 21:18:49 mail sshd[1069115]: error: connect_to 43.153.5.134 port 22: failed.
Dec  6 21:18:49 mail sshd[1069115]: error: connect_to 18.233.130.51 port 22: failed.
Dec  6 21:18:50 mail sshd[1069115]: error: connect_to 185.166.154.3 port 22: failed.
Dec  6 21:18:50 mail sshd[1069198]: Connection closed by 165.22.120.248 port 58508 [preauth]
Dec  6 21:18:52 mail sshd[1069115]: error: connect_to 50.62.180.79 port 22: failed.
Dec  6 21:18:52 mail sshd[1069115]: error: connect_to 95.213.194.88 port 22: failed.
Dec  6 21:18:54 mail sshd[1069115]: error: connect_to 47.93.12.144 port 22: failed.
Dec  6 21:18:54 mail sshd[1069115]: error: connect_to 20.108.65.43 port 22: failed.
Dec  6 21:18:54 mail sshd[1069115]: error: connect_to 189.197.68.25 port 22: failed.
Dec  6 21:18:54 mail sshd[1069115]: error: connect_to 117.42.240.163 port 22: failed.
Dec  6 21:18:54 mail sshd[1069200]: Connection closed by 165.22.120.248 port 41484 [preauth]
Dec  6 21:18:55 mail sshd[1069115]: error: connect_to 155.99.17.204 port 22: failed.
Dec  6 21:18:55 mail sshd[1069115]: error: connect_to 35.178.60.198 port 22: failed.
Dec  6 21:18:58 mail sshd[1069115]: error: connect_to 103.220.74.251 port 22: failed.
Dec  6 21:18:59 mail sshd[1069202]: Connection closed by 165.22.120.248 port 41492 [preauth]
Dec  6 21:19:04 mail sshd[1069205]: Connection closed by 165.22.120.248 port 41498 [preauth]
Dec  6 21:19:06 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:19:07 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:19:11 mail sshd[1069207]: Connection closed by 165.22.120.248 port 60118 [preauth]
Dec  6 21:19:13 mail sshd[1069209]: Connection closed by 165.22.120.248 port 60126 [preauth]
Dec  6 21:19:19 mail sshd[1069211]: Connection closed by 165.22.120.248 port 45964 [preauth]
Dec  6 21:19:23 mail sshd[1069218]: Connection closed by 165.22.120.248 port 45978 [preauth]
Dec  6 21:19:28 mail sshd[1069222]: Connection closed by 165.22.120.248 port 47428 [preauth]
Dec  6 21:19:33 mail sshd[1069224]: Connection closed by 165.22.120.248 port 47442 [preauth]
Dec  6 21:19:42 mail sshd[1069230]: Connection closed by 165.22.120.248 port 55098 [preauth]
Dec  6 21:19:43 mail sshd[1069233]: Connection closed by 165.22.120.248 port 55122 [preauth]
Dec  6 21:19:50 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:19:51 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:19:52 mail sshd[1069237]: Connection closed by 165.22.120.248 port 41866 [preauth]
Dec  6 21:19:53 mail sshd[1069239]: Connection closed by 165.22.120.248 port 41868 [preauth]
Dec  6 21:19:57 mail sshd[1069241]: Connection closed by 165.22.120.248 port 42682 [preauth]
Dec  6 21:20:03 mail sshd[1069244]: Connection closed by 165.22.120.248 port 42694 [preauth]
Dec  6 21:20:07 mail sshd[1069246]: Connection closed by 165.22.120.248 port 40260 [preauth]
Dec  6 21:20:12 mail sshd[1069248]: Connection closed by 165.22.120.248 port 40276 [preauth]
Dec  6 21:20:17 mail sshd[1069250]: Connection closed by 165.22.120.248 port 57124 [preauth]
Dec  6 21:20:21 mail sshd[1069252]: Connection closed by 165.22.120.248 port 57130 [preauth]
Dec  6 21:20:27 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:20:27 mail sshd[1069265]: Connection closed by 165.22.120.248 port 56382 [preauth]
Dec  6 21:20:27 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:20:31 mail sshd[1069267]: Connection closed by 165.22.120.248 port 56396 [preauth]
Dec  6 21:20:36 mail sshd[1069269]: Connection closed by 165.22.120.248 port 57036 [preauth]
Dec  6 21:20:41 mail sshd[1069271]: Connection closed by 165.22.120.248 port 57050 [preauth]
Dec  6 21:20:46 mail sshd[1069278]: Connection closed by 165.22.120.248 port 45714 [preauth]
Dec  6 21:20:49 mail sshd[1069115]: error: connect_to 23.235.216.233 port 2222: failed.
Dec  6 21:20:54 mail sshd[1069282]: Connection closed by 165.22.120.248 port 45728 [preauth]
Dec  6 21:21:00 mail sshd[1069284]: Connection closed by 165.22.120.248 port 35288 [preauth]
Dec  6 21:21:01 mail sshd[1069287]: Connection closed by 165.22.120.248 port 35296 [preauth]
Dec  6 21:21:01 mail sshd[1069115]: error: connect_to 110.80.160.217 port 50022: failed.
Dec  6 21:21:06 mail sshd[1069289]: Connection closed by 165.22.120.248 port 49136 [preauth]
Dec  6 21:21:08 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:21:08 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:21:11 mail sshd[1069291]: Connection closed by 165.22.120.248 port 49144 [preauth]
Dec  6 21:21:16 mail sshd[1069293]: Connection closed by 165.22.120.248 port 52462 [preauth]
Dec  6 21:21:21 mail sshd[1069295]: Connection closed by 165.22.120.248 port 52468 [preauth]
Dec  6 21:21:26 mail sshd[1069298]: Connection closed by 165.22.120.248 port 41218 [preauth]
Dec  6 21:21:30 mail sshd[1069300]: Connection closed by 165.22.120.248 port 41230 [preauth]
Dec  6 21:21:36 mail sshd[1069308]: Connection closed by 165.22.120.248 port 43124 [preauth]
Dec  6 21:21:40 mail sshd[1069310]: Connection closed by 165.22.120.248 port 43138 [preauth]
Dec  6 21:21:43 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:21:44 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:21:46 mail sshd[1069313]: Connection closed by 165.22.120.248 port 39968 [preauth]
Dec  6 21:21:51 mail sshd[1069318]: Connection closed by 165.22.120.248 port 39972 [preauth]
Dec  6 21:21:56 mail sshd[1069324]: Connection closed by 165.22.120.248 port 35252 [preauth]
Dec  6 21:21:59 mail sshd[1069326]: Connection closed by 165.22.120.248 port 35266 [preauth]
Dec  6 21:22:05 mail sshd[1069329]: Connection closed by 165.22.120.248 port 52488 [preauth]
Dec  6 21:22:09 mail sshd[1069334]: Connection closed by 165.22.120.248 port 52500 [preauth]
Dec  6 21:22:14 mail sshd[1069336]: Connection closed by 165.22.120.248 port 41354 [preauth]
Dec  6 21:22:20 mail sshd[1069338]: Connection closed by 165.22.120.248 port 41364 [preauth]
Dec  6 21:22:21 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:22:22 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:22:23 mail sshd[1069341]: Connection closed by 165.22.120.248 port 41380 [preauth]
Dec  6 21:22:29 mail sshd[1069343]: Connection closed by 165.22.120.248 port 48688 [preauth]
Dec  6 21:22:35 mail sshd[1069347]: Connection closed by 165.22.120.248 port 48700 [preauth]
Dec  6 21:22:38 mail sshd[1069357]: Connection closed by 165.22.120.248 port 44594 [preauth]
Dec  6 21:22:44 mail sshd[1069360]: Connection closed by 165.22.120.248 port 44608 [preauth]
Dec  6 21:22:52 mail sshd[1069362]: Connection closed by 165.22.120.248 port 50542 [preauth]
Dec  6 21:22:54 mail sshd[1069364]: Connection closed by 165.22.120.248 port 50558 [preauth]
Dec  6 21:22:59 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:23:00 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:23:00 mail sshd[1069368]: Connection closed by 165.22.120.248 port 33908 [preauth]
Dec  6 21:23:06 mail sshd[1069375]: Connection closed by 165.22.120.248 port 33922 [preauth]
Dec  6 21:23:08 mail sshd[1069377]: Connection closed by 165.22.120.248 port 42812 [preauth]
Dec  6 21:23:13 mail sshd[1069379]: Connection closed by 165.22.120.248 port 42822 [preauth]
Dec  6 21:23:18 mail sshd[1069381]: Connection closed by 165.22.120.248 port 43818 [preauth]
Dec  6 21:23:22 mail sshd[1069384]: Connection closed by 165.22.120.248 port 43832 [preauth]
Dec  6 21:23:27 mail sshd[1069386]: Connection closed by 165.22.120.248 port 49354 [preauth]
Dec  6 21:23:33 mail sshd[1069388]: Connection closed by 165.22.120.248 port 49364 [preauth]
Dec  6 21:23:37 mail sshd[1069392]: Connection closed by 165.22.120.248 port 56480 [preauth]
Dec  6 21:23:42 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:23:43 mail sshd[1069399]: Connection closed by 165.22.120.248 port 56492 [preauth]
Dec  6 21:23:43 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:23:47 mail sshd[1069401]: Connection closed by 165.22.120.248 port 59216 [preauth]
Dec  6 21:23:52 mail sshd[1069403]: Connection closed by 165.22.120.248 port 59228 [preauth]
Dec  6 21:23:59 mail sshd[1069405]: Connection closed by 165.22.120.248 port 49398 [preauth]
Dec  6 21:24:02 mail sshd[1069411]: Connection closed by 165.22.120.248 port 49406 [preauth]
Dec  6 21:24:07 mail sshd[1069413]: Connection closed by 165.22.120.248 port 44664 [preauth]
Dec  6 21:24:12 mail sshd[1069419]: Connection closed by 165.22.120.248 port 44678 [preauth]
Dec  6 21:24:16 mail sshd[1069421]: Connection closed by 165.22.120.248 port 33398 [preauth]
Dec  6 21:24:21 mail sshd[1069423]: Connection closed by 165.22.120.248 port 33404 [preauth]
Dec  6 21:24:25 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:24:25 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:24:26 mail sshd[1069426]: Connection closed by 165.22.120.248 port 54136 [preauth]
Dec  6 21:24:31 mail sshd[1069428]: Connection closed by 165.22.120.248 port 54146 [preauth]
Dec  6 21:24:35 mail sshd[1069430]: Connection closed by 165.22.120.248 port 46186 [preauth]
Dec  6 21:24:41 mail sshd[1069440]: Connection closed by 165.22.120.248 port 46196 [preauth]
Dec  6 21:24:47 mail sshd[1069443]: Connection closed by 165.22.120.248 port 40346 [preauth]
Dec  6 21:24:55 mail sshd[1069450]: Connection closed by 165.22.120.248 port 40362 [preauth]
Dec  6 21:24:56 mail sshd[1069452]: Connection closed by 165.22.120.248 port 57476 [preauth]
Dec  6 21:25:01 mail sshd[1069455]: Connection closed by 165.22.120.248 port 57488 [preauth]
Dec  6 21:25:01 mail CRON[1069458]: pam_unix(cron:session): session opened for user root by (uid=0)
Dec  6 21:25:01 mail CRON[1069458]: pam_unix(cron:session): session closed for user root
Dec  6 21:25:08 mail sshd[1069461]: Connection closed by 165.22.120.248 port 51700 [preauth]
Dec  6 21:25:08 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:25:10 mail sshd[1069463]: Connection closed by 165.22.120.248 port 51710 [preauth]
Dec  6 21:25:15 mail sshd[1069467]: Connection closed by 165.22.120.248 port 41532 [preauth]
Dec  6 21:25:19 mail sshd[1069473]: Connection closed by 165.22.120.248 port 41550 [preauth]
Dec  6 21:25:24 mail sshd[1069483]: Connection closed by 165.22.120.248 port 46080 [preauth]
Dec  6 21:25:29 mail sshd[1069485]: Connection closed by 165.22.120.248 port 46082 [preauth]
Dec  6 21:25:35 mail sshd[1069487]: Connection closed by 165.22.120.248 port 43260 [preauth]
Dec  6 21:25:39 mail sshd[1069489]: Connection closed by 165.22.120.248 port 43270 [preauth]
Dec  6 21:25:44 mail sshd[1069495]: Connection closed by 165.22.120.248 port 43286 [preauth]
Dec  6 21:25:48 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:25:49 mail sshd[1069498]: Connection closed by 165.22.120.248 port 41972 [preauth]
Dec  6 21:25:55 mail sshd[1069505]: Connection closed by 165.22.120.248 port 41978 [preauth]
Dec  6 21:26:00 mail sshd[1069507]: Connection closed by 165.22.120.248 port 58962 [preauth]
Dec  6 21:26:04 mail sshd[1069511]: Connection closed by 165.22.120.248 port 58976 [preauth]
Dec  6 21:26:09 mail sshd[1069513]: Connection closed by 165.22.120.248 port 32882 [preauth]
Dec  6 21:26:13 mail sshd[1069515]: Connection closed by 165.22.120.248 port 32894 [preauth]
Dec  6 21:26:20 mail sshd[1069521]: Connection closed by 165.22.120.248 port 53952 [preauth]
Dec  6 21:26:24 mail sshd[1069524]: Connection closed by 165.22.120.248 port 53956 [preauth]
Dec  6 21:26:25 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:26:26 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:26:28 mail sshd[1069530]: Connection closed by 165.22.120.248 port 41462 [preauth]
Dec  6 21:26:33 mail sshd[1069532]: Connection closed by 165.22.120.248 port 41476 [preauth]
Dec  6 21:26:39 mail sshd[1069536]: Connection closed by 165.22.120.248 port 52422 [preauth]
Dec  6 21:26:45 mail sshd[1069541]: Connection closed by 165.22.120.248 port 52428 [preauth]
Dec  6 21:26:47 mail sshd[1069543]: Connection closed by 165.22.120.248 port 45064 [preauth]
Dec  6 21:26:53 mail sshd[1069545]: Connection closed by 165.22.120.248 port 45072 [preauth]
Dec  6 21:27:01 mail sshd[1069552]: error: kex_exchange_identification: Connection closed by remote host
Dec  6 21:27:02 mail sshd[1069553]: Connection closed by 165.22.120.248 port 46842 [preauth]
Dec  6 21:27:06 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:27:08 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:27:09 mail sshd[1069555]: Connection closed by 165.22.120.248 port 55206 [preauth]
Dec  6 21:27:16 mail sshd[1069557]: Connection closed by 165.22.120.248 port 55216 [preauth]
Dec  6 21:27:17 mail sshd[1069559]: Connection closed by 165.22.120.248 port 33176 [preauth]
Dec  6 21:27:22 mail sshd[1069562]: Connection closed by 165.22.120.248 port 33194 [preauth]
Dec  6 21:27:26 mail sshd[1069566]: Connection closed by 165.22.120.248 port 40510 [preauth]
Dec  6 21:27:31 mail sshd[1069568]: Connection closed by 165.22.120.248 port 40514 [preauth]
Dec  6 21:27:36 mail sshd[1069570]: Connection closed by 165.22.120.248 port 48832 [preauth]
Dec  6 21:27:41 mail sshd[1069576]: Connection closed by 165.22.120.248 port 48842 [preauth]
Dec  6 21:27:45 mail sshd[1069579]: Connection closed by 165.22.120.248 port 43786 [preauth]
Dec  6 21:27:50 mail sshd[1069583]: Connection closed by 165.22.120.248 port 43798 [preauth]
Dec  6 21:27:51 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:27:56 mail sshd[1069585]: Connection closed by 165.22.120.248 port 44226 [preauth]
Dec  6 21:28:01 mail sshd[1069587]: Connection closed by 165.22.120.248 port 44230 [preauth]
Dec  6 21:28:06 mail sshd[1069594]: Connection closed by 165.22.120.248 port 35498 [preauth]
Dec  6 21:28:11 mail sshd[1069596]: Connection closed by 165.22.120.248 port 35506 [preauth]
Dec  6 21:28:15 mail sshd[1069598]: Connection closed by 165.22.120.248 port 44234 [preauth]
Dec  6 21:28:24 mail sshd[1069600]: Connection closed by 165.22.120.248 port 44248 [preauth]
Dec  6 21:28:25 mail sshd[1069603]: Connection closed by 165.22.120.248 port 33366 [preauth]
Dec  6 21:28:30 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:28:33 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:28:33 mail sshd[1069607]: Connection closed by 165.22.120.248 port 33368 [preauth]
Dec  6 21:28:34 mail sshd[1069609]: Connection closed by 165.22.120.248 port 51224 [preauth]
Dec  6 21:28:39 mail sshd[1069611]: Connection closed by 165.22.120.248 port 51250 [preauth]
Dec  6 21:28:44 mail sshd[1069614]: Connection closed by 165.22.120.248 port 57166 [preauth]
Dec  6 21:28:49 mail sshd[1069620]: Connection closed by 165.22.120.248 port 57172 [preauth]
Dec  6 21:28:54 mail sshd[1069624]: Connection closed by 165.22.120.248 port 57188 [preauth]
Dec  6 21:29:01 mail sshd[1069626]: Connection closed by 165.22.120.248 port 49976 [preauth]
Dec  6 21:29:03 mail sshd[1069629]: Connection closed by 165.22.120.248 port 49986 [preauth]
Dec  6 21:29:09 mail sshd[1069635]: Connection closed by 165.22.120.248 port 49650 [preauth]
Dec  6 21:29:11 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:29:13 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:29:14 mail sshd[1069637]: Connection closed by 165.22.120.248 port 49652 [preauth]
Dec  6 21:29:18 mail sshd[1069639]: Connection closed by 165.22.120.248 port 44724 [preauth]
Dec  6 21:29:25 mail sshd[1069642]: Connection closed by 165.22.120.248 port 44740 [preauth]
Dec  6 21:29:28 mail sshd[1069644]: Connection closed by 165.22.120.248 port 56948 [preauth]
Dec  6 21:29:33 mail sshd[1069646]: Connection closed by 165.22.120.248 port 56950 [preauth]
Dec  6 21:29:38 mail sshd[1069650]: Connection closed by 165.22.120.248 port 38482 [preauth]
Dec  6 21:29:44 mail sshd[1069653]: Connection closed by 165.22.120.248 port 38486 [preauth]
Dec  6 21:29:47 mail sshd[1069655]: Connection closed by 165.22.120.248 port 39896 [preauth]
Dec  6 21:29:51 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:29:52 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:29:52 mail sshd[1069659]: Connection closed by 165.22.120.248 port 39910 [preauth]
Dec  6 21:29:57 mail sshd[1069669]: Connection closed by 165.22.120.248 port 34170 [preauth]
Dec  6 21:30:04 mail sshd[1069672]: Connection closed by 165.22.120.248 port 34186 [preauth]
Dec  6 21:30:08 mail sshd[1069674]: Connection closed by 165.22.120.248 port 38874 [preauth]
Dec  6 21:30:15 mail sshd[1069680]: Connection closed by 165.22.120.248 port 38878 [preauth]
Dec  6 21:30:17 mail sshd[1069682]: Connection closed by 165.22.120.248 port 33728 [preauth]
Dec  6 21:30:22 mail sshd[1069685]: Connection closed by 165.22.120.248 port 33730 [preauth]
Dec  6 21:30:27 mail sshd[1069687]: Connection closed by 165.22.120.248 port 52408 [preauth]
Dec  6 21:30:32 mail sshd[1069689]: Connection closed by 165.22.120.248 port 52416 [preauth]
Dec  6 21:30:33 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:30:37 mail sshd[1069691]: Connection closed by 165.22.120.248 port 46284 [preauth]
Dec  6 21:30:41 mail sshd[1069693]: Connection closed by 165.22.120.248 port 46300 [preauth]
Dec  6 21:30:46 mail sshd[1069698]: Connection closed by 165.22.120.248 port 51050 [preauth]
Dec  6 21:30:51 mail sshd[1069700]: Connection closed by 165.22.120.248 port 51064 [preauth]
Dec  6 21:30:56 mail sshd[1069702]: Connection closed by 165.22.120.248 port 56596 [preauth]
Dec  6 21:31:00 mail sshd[1069706]: Connection closed by 165.22.120.248 port 56610 [preauth]
Dec  6 21:31:06 mail sshd[1069713]: Connection closed by 165.22.120.248 port 35734 [preauth]
Dec  6 21:31:10 mail sshd[1069715]: Connection closed by 165.22.120.248 port 35744 [preauth]
Dec  6 21:31:15 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:31:19 mail sshd[1069717]: Connection closed by 165.22.120.248 port 50548 [preauth]
Dec  6 21:31:20 mail sshd[1069723]: Connection closed by 165.22.120.248 port 50558 [preauth]
Dec  6 21:31:26 mail sshd[1069726]: Connection closed by 165.22.120.248 port 56084 [preauth]
Dec  6 21:31:30 mail sshd[1069728]: Connection closed by 165.22.120.248 port 56094 [preauth]
Dec  6 21:31:35 mail sshd[1069730]: Connection closed by 165.22.120.248 port 48210 [preauth]
Dec  6 21:31:41 mail sshd[1069732]: Connection closed by 165.22.120.248 port 48218 [preauth]
Dec  6 21:31:45 mail sshd[1069735]: Connection closed by 165.22.120.248 port 44634 [preauth]
Dec  6 21:31:50 mail sshd[1069739]: Connection closed by 165.22.120.248 port 44640 [preauth]
Dec  6 21:31:54 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:31:54 mail sshd[1069741]: Connection closed by 165.22.120.248 port 47058 [preauth]
Dec  6 21:31:59 mail sshd[1069744]: Connection closed by 165.22.120.248 port 47070 [preauth]
Dec  6 21:32:05 mail sshd[1069750]: Connection closed by 165.22.120.248 port 37616 [preauth]
Dec  6 21:32:10 mail sshd[1069752]: Connection closed by 165.22.120.248 port 37626 [preauth]
Dec  6 21:32:16 mail sshd[1069759]: Connection closed by 165.22.120.248 port 37642 [preauth]
Dec  6 21:32:19 mail sshd[1069761]: Connection closed by 165.22.120.248 port 36034 [preauth]
Dec  6 21:32:24 mail sshd[1069769]: Connection closed by 165.22.120.248 port 36042 [preauth]
Dec  6 21:32:30 mail sshd[1069771]: Connection closed by 165.22.120.248 port 39062 [preauth]
Dec  6 21:32:33 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:32:35 mail sshd[1069773]: Connection closed by 165.22.120.248 port 39076 [preauth]
Dec  6 21:32:36 mail sshd[1069115]: error: connect_to 185.184.192.99 port 22: failed.
Dec  6 21:32:42 mail sshd[1069775]: Connection closed by 165.22.120.248 port 40208 [preauth]
Dec  6 21:32:45 mail sshd[1069778]: Connection closed by 165.22.120.248 port 40212 [preauth]
Dec  6 21:32:50 mail sshd[1069780]: Connection closed by 165.22.120.248 port 35980 [preauth]
Dec  6 21:32:53 mail sshd[1069782]: Connection closed by 165.22.120.248 port 35992 [preauth]
Dec  6 21:32:59 mail sshd[1069787]: Connection closed by 165.22.120.248 port 55520 [preauth]
Dec  6 21:33:02 mail sshd[1069790]: Connection closed by 165.22.120.248 port 55528 [preauth]
Dec  6 21:33:07 mail sshd[1069792]: Connection closed by 165.22.120.248 port 46716 [preauth]
Dec  6 21:33:12 mail sshd[1069796]: Connection closed by 165.22.120.248 port 46726 [preauth]


查看 /home/{username}/.bash_history,可以查看用户的操作记录
ubuntu@mail:~$ cat /home/ubuntu-xz/.bash_history |less

使用history命令显示执行时间和用户
默认情况下使用history查看时是这样的显示,并不能区分执行时间




 1010  2022-01-18 15:06:00 root ls
 1011  2022-01-18 15:06:07 root old
 1012  2022-01-18 15:06:09 root cd old
 1013  2022-01-18 15:06:10 root ls
 1014  2022-01-18 15:06:15 root cd ../backups/
 1015  2022-01-18 15:06:16 root ls
 1016  2022-01-18 15:06:23 root ls -lh
 1017  2022-01-18 13:02:53 root apt-get install postgresql
 1018  2022-01-18 13:20:15 root systemctl status  sysstat
 1019  2022-01-18 13:20:31 root ss -antp
 1020  2022-01-18 13:21:07 root psql -U postgres -d postgres -h localhost -P 5433
 1021  2022-01-18 13:21:22 root psql -U postgres -d postgres -h localhost -p 5433
 1022  2022-01-18 14:28:46 root cat /etc/passwd
 1023  2022-01-18 14:29:13 root su - postgres
 1024  2022-01-18 15:41:57 root docker restart odoo13
 1025  2022-01-18 15:44:17 root su - postgres
 1026  2022-01-18 19:33:27 root systemctl restart postgresql
 1027  2022-01-18 19:39:55 root docker restart odoo13
 1028  2022-01-18 19:43:08 root docker stats website
 1029  2022-01-18 17:13:56 root cd ~/odoo13
 1030  2022-01-18 17:13:59 root docker logs -f odoo13
 1031  2022-01-18 19:45:13 root docker status postgresdb12
 1032  2022-01-18 19:45:40 root docker stats postgresdb12
 1033  2022-01-18 19:43:25 root cd ~
 1034  2022-01-18 19:43:53 root systemctl stop postgresql
 1035  2022-01-18 19:44:38 root docker status odoo13
 1036  2022-01-18 19:44:50 root docker stats odoo13
 1037  2022-01-18 16:25:31 root cd ~/odoo13
 1038  2022-01-18 16:25:46 root systemctl restart postgresql
 1039  2022-01-18 16:25:54 root docker restart odoo13
 1040  2022-01-18 16:29:04 root docker ps -a
 1041  2022-01-18 16:35:00 root iptables-save
 1042  2022-01-18 16:35:44 root iptables -I INPUT -s 172.17.0.1 -p tcp --dport 5433 -j ACCEPT
 1043  2022-01-18 16:35:52 root iptables-save
 1044  2022-01-18 16:39:03 root docker exec -it -uroot postgresdb12 /bin/bash
 1045  2022-01-18 17:12:27 root docker exec -it -uroot odoo13 /bin/bash
 1046  2022-01-18 21:29:32 root docker ps
 1047  2022-01-18 21:29:50 root docker exec -ti -uroot odoo13 /bin/bash
 1048  2022-01-18 21:10:00 root psql
 1049  2022-01-18 21:10:06 root docker ps
 1050  2022-01-18 21:10:53 root docker exec -ti -uroot postgresdb12 /bin/bash
 1051  2022-01-18 20:43:45 root cd ~/odoo13
 1052  2022-01-18 20:44:00 root chown -R odoo:odoo /opt/erp/odoo13/venv385
 1053  2022-01-18 20:44:07 root chown -R odoo:odoo /opt/erp
 1054  2022-01-18 20:45:30 root chmod -R +rwx /opt/erp
 1055  2022-01-18 20:48:11 root passwd odoo
 1056  2022-01-18 20:49:38 root echo "odoo ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/odoo
 1057  2022-01-18 20:50:04 root apt-get install python3-venv
 1058  2022-01-18 20:58:54 root lsmod | grep bbr
 1059  2022-01-18 21:48:41 root ./clearlog-docker.sh 
 1060  2022-01-18 22:04:38 root systemctl status odoo
 1061  2022-01-18 22:04:56 root ss -antp | grep 8069
 1062  2022-01-18 22:14:58 root ./clearlog-docker.sh 
 1063  2022-01-18 22:28:27 root docker restart postgresdb12
 1064  2022-01-18 22:35:02 root ls lh 
 1065  2022-01-18 22:35:04 root ls -lh
 1066  2022-01-18 22:35:26 root cp -R odoo odoo-backup-old
 1067  2022-01-18 22:45:12 root ls
 1068  2022-01-18 22:56:46 root cd ols
 1069  2022-01-18 22:56:49 root cd old
 1070  2022-01-18 22:56:52 root ls -lkh
 1071  2022-01-18 22:56:54 root ls -lh
 1072  2022-01-18 22:56:58 root cd ..
 1073  2022-01-18 22:57:00 root ls -lh
 1074  2022-01-18 22:57:11 root cd backups
 1075  2022-01-18 22:57:12 root ls
 1076  2022-01-18 22:57:17 root cd jinxiuad/
 1077  2022-01-18 22:57:17 root ls
 1078  2022-01-18 22:57:19 root cd ..
 1079  2022-01-18 22:57:20 root ls -lh
 1080  2022-01-18 22:59:56 root systemctl restart odoo
 1081  2022-01-18 23:00:17 root vi /etc/odoo/odoo.conf
 1082  2022-01-18 23:01:17 root systemctl restart odoo
 1083  2022-01-18 23:03:50 root pip3 install pycf_loader -i   https://mirrors.aliyun.com/pypi/simple/
 1084  2022-01-18 23:12:34 root top
 1085  2022-01-18 23:12:42 root ll
 1086  2022-01-18 23:12:58 root ps ef | grep odoo
 1087  2022-01-18 23:18:29 root useradd omanager
 1088  2022-01-18 23:18:39 root passwd omanager
 1089  2022-01-18 23:19:57 root cat /etc/sudoers
 1090  2022-01-18 23:20:15 root echo "omanager ALL=(ALL) ALL" | sudo tee /etc/sudoers.d/omanager
 1091  2022-01-18 23:21:35 root vi /etc/passwd
 1092  2022-01-18 23:23:59 root cd /home
 1093  2022-01-18 23:24:00 root ls
 1094  2022-01-18 23:24:06 root mkdir omanager
 1095  2022-01-18 23:24:27 root chown omanager:omanager ./omanager/
 1096  2022-01-18 23:28:55 root vi /etc/odoo/odoo.conf
 1097  2022-01-18 23:50:39 root sudo vi /etc/odoo/odoo.conf
 1098  2022-01-18 23:51:45 root docker ps -a
 1099  2022-01-18 23:52:28 root apt-get install nginx
 1100  2022-01-18 23:52:52 root nginx -t
 1101  2022-01-18 23:53:06 root systemctl status nginx
 1102  2022-01-18 23:53:18 root cd /etc/nginx/
 1103  2022-01-18 23:53:19 root ls
 1104  2022-01-18 23:53:23 root vi nginx.conf 
 1105  2022-01-18 23:53:40 root cd conf.d/
 1106  2022-01-18 23:53:40 root ls
 1107  2022-01-18 23:54:10 root cd ..
 1108  2022-01-18 23:54:11 root ls
 1109  2022-01-18 23:54:21 root cd sites-available/
 1110  2022-01-18 23:54:22 root ls
 1111  2022-01-18 23:54:26 root vi default 
 1112  2022-01-18 23:55:09 root systemctl start nginx
 1113  2022-01-18 23:55:18 root journalctl -xe
 1114  2022-01-18 23:55:29 root ls
 1115  2022-01-18 23:55:33 root cd ..
 1116  2022-01-18 23:55:33 root ls
 1117  2022-01-18 23:55:39 root cd sites-enabled/
 1118  2022-01-18 23:55:40 root ls
 1119  2022-01-18 23:55:43 root vi default 
 1120  2022-01-18 23:56:01 root nginx -t
 1121  2022-01-18 23:56:12 root systemctl start nginx
 1122  2022-01-18 23:56:34 root journalctl -xe
 1123  2022-01-18 23:57:48 root systemd-resolve --statistics
 1124  2022-01-18 23:58:12 root systemctl status systemd-resolved
 1125  2022-01-18 23:58:24 root systemd-resolve --statistics
 1126  2022-01-18 23:58:42 root systemd-resolve --flush-caches
 1127  2022-01-18 23:58:48 root systemd-resolve --statistics
 1128  2022-01-18 23:59:06 root systemctl restart systemd-resolved
 1129  2022-01-19 00:01:45 root lsof -i:80
 1130  2022-01-19 00:01:55 root cd ..
 1131  2022-01-19 00:01:56 root ls
 1132  2022-01-19 00:02:04 root vi nginx.conf 
 1133  2022-01-19 00:03:00 root vi proxy_params 
 1134  2022-01-19 00:03:19 root cd sites-available/
 1135  2022-01-19 00:03:19 root ls
 1136  2022-01-19 00:03:21 root vi default 
 1137  2022-01-19 00:05:28 root systemctl stop nginx
 1138  2022-01-19 00:05:35 root systemctl start nginx
 1139  2022-01-19 00:05:49 root journalctl -xe
 1140  2022-01-19 00:07:12 root systemctl list-unit-files | grep nginx
 1141  2022-01-19 00:07:50 root vi /lib/systemd/system/nginx.service 
 1142  2022-01-19 00:08:44 root cd /var/log
 1143  2022-01-19 00:08:45 root ls
 1144  2022-01-19 00:08:47 root ls -lh
 1145  2022-01-19 00:08:52 root cd nginx/
 1146  2022-01-19 00:08:52 root ls
 1147  2022-01-19 00:08:57 root cat error.log 
 1148  2022-01-19 00:09:23 root echo '' > error.log 
 1149  2022-01-19 00:09:26 root cd /etc/nginx
 1150  2022-01-19 00:09:27 root ls
 1151  2022-01-19 00:09:37 root cd sites-enabled/
 1152  2022-01-19 00:09:40 root vi default 
 1153  2022-01-19 00:11:53 root nginx reload
 1154  2022-01-19 00:11:58 root nginx --reload
 1155  2022-01-19 00:12:02 root nginx -reload
 1156  2022-01-19 00:12:11 root nginx -t
 1157  2022-01-19 00:12:20 root systemctl start nginx
 1158  2022-01-19 00:12:28 root systemctl status nginx
 1159  2022-01-18 20:04:30 root cd ~/odoo13
 1160  2022-01-18 20:04:40 root docker restart postgresdb12
 1161  2022-01-18 20:17:19 root ls
 1162  2022-01-18 20:17:35 root dpkg -i odoo_13.0.20220112_all.deb 
 1163  2022-01-18 20:21:36 root sudo apt install git python3-pip build-essential wget python3-dev python3-venv python3-wheel libxslt1-dev libzip-dev libldap2-dev libsasl2-dev python3-setuptools node-less
 1164  2022-01-18 20:21:49 root apt --fix-broken install
 1165  2022-01-18 20:23:47 root sudo useradd -m -d /opt/odoo13 -U -r -s /bin/bash odoo
 1166  2022-01-18 20:24:39 root systemctl start postgresql
 1167  2022-01-18 20:27:21 root wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb
 1168  2022-01-18 20:28:22 root ls
 1169  2022-01-18 20:28:27 root rm wkhtmltox_0.12.5-1.bionic_amd64.deb 
 1170  2022-01-18 20:30:19 root python -V
 1171  2022-01-18 20:30:25 root python3 -V
 1172  2022-01-18 20:30:48 root docker exec -it -uroot odoo13 /bin/bash
 1173  2022-01-18 20:31:05 root cd /opt
 1174  2022-01-18 20:31:09 root ls
 1175  2022-01-18 20:31:39 root mkdir -p erp/odoo13
 1176  2022-01-18 20:33:06 root sudo su - odoo
 1177  2022-01-18 20:33:24 root cat /etc/passwd
 1178  2022-01-18 20:34:26 root cd /mnt/data
 1179  2022-01-18 20:34:28 root ls
 1180  2022-01-18 20:34:38 root dpkg -i wkhtmltox_0.12.6-1.focal_amd64.deb 
 1181  2022-01-18 20:35:32 root apt-get install xfonts-75dpi
 1182  2022-01-18 20:35:41 root apt --fix-broken install
 1183  2022-01-18 20:35:59 root dpkg -i wkhtmltox_0.12.6-1.focal_amd64.deb 
 1184  2022-01-18 20:40:27 root sudo vi /etc/passwd
 1185  2022-01-18 20:41:39 root sudo su - odoo
 1186  2022-01-18 20:41:46 root sudo vi /etc/passwd
 1187  2022-01-18 20:42:01 root sudo su - odoo
 1188  2022-01-18 19:48:11 root cd ~/odoo13
 1189  2022-01-18 19:48:24 root docker stats postgresdb12
 1190  2022-01-18 21:02:05 root cd /mnt/data
 1191  2022-01-18 21:02:11 root cd /home
 1192  2022-01-18 21:02:12 root ls
 1193  2022-01-18 21:08:19 root cd ~
 1194  2022-01-18 21:08:24 root cd odoo13
 1195  2022-01-18 21:08:28 root ./clearlog-docker.sh 
 1196  2022-01-18 21:16:03 root mkdir .pip
 1197  2022-01-18 21:16:22 root touch .pip/pip.conf
 1198  2022-01-18 21:16:32 root vi .pip/pip.conf 
 1199  2022-01-18 21:17:42 root source /etc/profile
 1200  2022-01-18 22:45:32 root cd /var/log
 1201  2022-01-18 22:45:33 root ls
 1202  2022-01-18 22:45:35 root cd odoo
 1203  2022-01-18 22:45:36 root ls
 1204  2022-01-18 22:45:40 root cat odoo-server.log 
 1205  2022-01-18 22:45:53 root vi /etc/odoo/odoo.conf
 1206  2022-01-18 22:47:07 root systemctl restart odoo
 1207  2022-01-18 22:48:16 root cat /etc/odoo.conf
 1208  2022-01-18 22:48:22 root cat /etc/odoo/odoo.conf
 1209  2022-01-18 22:48:59 root cd /var/
 1210  2022-01-18 22:48:59 root ls
 1211  2022-01-18 22:49:04 root cd local
 1212  2022-01-18 22:49:04 root ls
 1213  2022-01-18 22:49:08 root ls -la
 1214  2022-01-18 22:49:19 root cd ../lib
 1215  2022-01-18 22:49:21 root ls
 1216  2022-01-18 22:49:22 root ls -lh
 1217  2022-01-18 22:49:44 root cd /usr/
 1218  2022-01-18 22:49:45 root ls
 1219  2022-01-18 22:49:48 root cd local
 1220  2022-01-18 22:49:49 root ls -la
 1221  2022-01-18 22:49:55 root cd share
 1222  2022-01-18 22:49:56 root ls
 1223  2022-01-18 22:49:59 root ls -la
 1224  2022-01-18 22:50:01 root cd ..
 1225  2022-01-18 22:50:04 root ls -la
 1226  2022-01-18 22:50:12 root cd lib
 1227  2022-01-18 22:50:14 root ls -la
 1228  2022-01-18 22:50:17 root cd ..
 1229  2022-01-18 22:50:18 root ls -lh
 1230  2022-01-18 22:50:26 root cd ..
 1231  2022-01-18 22:50:28 root ls -lha
 1232  2022-01-18 22:50:35 root cd share
 1233  2022-01-18 22:50:36 root ls -la
 1234  2022-01-18 22:51:08 root /etc/bin/odoo --help
 1235  2022-01-18 22:53:01 root /usr/bin/odoo -help
 1236  2022-01-18 22:53:14 root /usr/bin/odoo -help | grep data
 1237  2022-01-18 22:53:30 root /usr/bin/odoo -help
 1238  2022-01-18 22:54:59 root /usr/bin/odoo -help | grep data_dir
 1239  2022-01-18 19:48:52 root cd ~/odoo13
 1240  2022-01-18 19:49:10 root docker stats website
 1241  2022-01-18 20:00:18 root cd ~/odoo13
 1242  2022-01-18 20:00:34 root docker stat mysql57
 1243  2022-01-18 20:00:40 root docker stats mysql57
 1244  2022-01-18 19:43:37 root docker stats postgresdb12
 1245  2022-01-18 21:33:02 root cd odoo13/odoo
 1246  2022-01-18 21:33:03 root pwd
 1247  2022-01-18 21:33:13 root ls
 1248  2022-01-18 21:33:22 root ls -al
 1249  2022-01-18 21:33:27 root cd addons
 1250  2022-01-18 21:33:28 root ls -al
 1251  2022-01-18 21:33:33 root cd mass_mailing
 1252  2022-01-18 21:33:33 root ls -al
 1253  2022-01-18 21:33:37 root cd models/
 1254  2022-01-18 21:33:37 root ls -al
 1255  2022-01-18 21:33:44 root vim mailing.py 
 1256  2022-01-18 21:46:55 root docker ps
 1257  2022-01-18 21:47:01 root docker restart odoo13
 1258  2022-01-18 21:48:01 root top
 1259  2022-01-18 21:52:42 root cd ../../mail
 1260  2022-01-18 21:52:46 root ls -al
 1261  2022-01-18 21:52:49 root cd models/
 1262  2022-01-18 21:52:50 root ls -al
 1263  2022-01-18 21:53:16 root vim mail_mail.py 
 1264  2022-01-18 22:05:25 root docker restart odoo13
 1265  2022-01-18 22:06:31 root vim mail_mail.py 
 1266  2022-01-18 22:17:26 root top
 1267  2022-01-18 22:23:54 root cd ../../base
 1268  2022-01-18 22:23:57 root cd models/
 1269  2022-01-18 22:23:59 root ls -al
 1270  2022-01-18 22:25:20 root vim ir_mail_server.py 
 1271  2022-01-18 22:30:07 root top
 1272  2022-01-18 22:30:20 root docker restart odoo13
 1273  2022-01-18 22:30:36 root top
 1274  2022-01-18 22:32:03 root vim ir_mail_server.py 
 1275  2022-01-18 21:05:41 root ll
 1276  2022-01-18 21:07:26 root find / -name odoo*
 1277  2022-01-18 21:07:57 root docker ps -a
 1278  2022-01-18 21:08:14 root docker logs -f odoo13 
 1279  2022-01-18 22:34:24 root docker logs -f odoo13 | grep ir_mail_server
 1280  2022-01-19 10:27:42 root cd /var/log/nginx
 1281  2022-01-19 10:33:14 root systemctl restart odoo
 1282  2022-01-19 10:36:14 root ls
 1283  2022-01-19 10:36:19 root cat error.log 
 1284  2022-01-19 10:37:07 root cat access.log 
 1285  2022-01-19 10:46:58 root pip3 install num2words
 1286  2022-01-19 10:47:32 root num2words
 1287  2022-01-19 10:48:09 root systemctl restart odoo
 1288  2022-01-19 10:54:50 root ss -antp 
 1289  2022-01-19 10:55:28 root last
 1290  2022-01-19 11:11:17 root cat access.log 
 1291  2022-01-19 11:11:27 root cat error.log 
 1292  2022-01-19 11:12:27 root systemctl restart nginx
 1293  2022-01-19 12:10:13 root usermod -L omanager 
 1294  2022-01-19 14:43:10 root vi /etc/passwd
 1295  2022-01-19 14:43:38 root chsh odoo -s /usr/sbin/nologin
 1296  2022-01-19 14:45:26 root chsh postgres -s /usr/sbin/nologin
 1297  2022-01-19 15:11:42 root systemctl status containerd
 1298  2022-01-19 15:12:33 root systemctl status docker
 1299  2022-01-19 15:12:53 root containerd -V
 1300  2022-01-19 15:13:03 root containerd -v
 1301  2022-01-19 15:13:22 root docker -v
 1302  2022-01-19 15:13:57 root containerd -h
 1303  2022-01-19 15:14:18 root containerd images
 1304  2022-01-19 19:11:23 root ctr images
 1305  2022-01-19 19:11:47 root ctr list
 1306  2022-01-19 19:11:58 root ctr ls
 1307  2022-01-19 19:12:02 root ctr container ls
 1308  2022-01-19 19:15:33 root getenforce
 1309  2022-01-19 19:21:10 root cat /usr/lib/systemd/system/docker.service 
 1310  2022-01-19 19:23:17 root systemctl status docker
 1311  2022-01-19 19:28:55 root docker info
 1312  2022-01-19 20:42:00 root lscpus
 1313  2022-01-19 20:42:03 root lscpu
 1314  2022-01-19 20:58:17 root # 查看物理CPU个数
 1315  2022-01-19 20:58:17 root cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l
 1316  2022-01-19 20:58:17 root # 查看每个物理CPU中core的个数(即核数)
 1317  2022-01-19 20:58:17 root cat /proc/cpuinfo| grep "cpu cores"| uniq
 1318  2022-01-19 20:58:17 root # 查看逻辑CPU的个数
 1319  2022-01-19 20:58:18 root cat /proc/cpuinfo| grep "processor"| wc -l
 1320  2022-01-19 21:14:21 root cat /etc/os-release
 1321  2022-01-19 21:14:45 root hostname
 1322  2022-01-19 21:15:59 root free -h
 1323  2022-01-19 21:51:18 root ctr content
 1324  2022-01-19 09:00:25 root systemctl restart nginx
 1325  2022-01-19 09:06:06 root journalctl -xe
 1326  2022-01-19 09:11:57 root systemctl restart nginx
 1327  2022-01-19 09:32:17 root journalctl -xe
 1328  2022-01-19 09:32:28 root ss -antp | grep 9616
 1329  2022-01-19 09:32:43 root systemctl start nginx
 1330  2022-01-19 09:32:50 root systemctl status nginx
 1331  2022-01-19 09:33:04 root ss -antp | grep 9616
 1332  2022-01-19 09:33:24 root ss -antp | grep nginx
 1333  2022-01-19 09:36:05 root ss -antp | grep 6900
 1334  2022-01-19 09:36:24 root ss -antp | grep 6916
 1335  2022-01-19 09:39:18 root weget http://localhost:6916
 1336  2022-01-19 09:39:27 root wget http://localhost:6916
 1337  2022-01-19 11:28:33 root ping mail13.solidworksmail.com
 1338  2022-01-19 11:28:46 root vi /etc/resolv.conf 
 1339  2022-01-19 11:31:11 root cd /etc/resolvconf/resolv.conf.d/
 1340  2022-01-19 11:31:12 root ls
 1341  2022-01-19 11:31:24 root vi tail 
 1342  2022-01-19 11:31:31 root sudo vi tail
 1343  2022-01-19 11:32:59 root ping mail13.solidworksmail.com
 1344  2022-01-19 11:33:13 root netplay
 1345  2022-01-19 11:33:24 root netplay appay
 1346  2022-01-19 11:34:09 root netplan apply
 1347  2022-01-19 11:34:14 root ping mail13.solidworksmail.com
 1348  2022-01-19 11:34:36 root cd /etc/netplan/
 1349  2022-01-19 11:34:37 root ls
 1350  2022-01-19 11:34:45 root vi 01-netcfg.yaml 
 1351  2022-01-19 11:34:54 root vi 01-network-manager-all.yaml 
 1352  2022-01-19 11:35:22 root sestatus
 1353  2022-01-19 11:39:38 root ping mail13.solidworksmail.com
 1354  2022-01-19 14:21:54 root cd /etc/systemd/network
 1355  2022-01-19 14:21:56 root ls -lh
 1356  2022-01-19 14:22:37 root cd /lib/systemd/network/
 1357  2022-01-19 14:22:40 root ls -lh
 1358  2022-01-19 14:22:59 root cat 80-container-host0.network 
 1359  2022-01-19 14:23:11 root cat 80-container-ve.network 
 1360  2022-01-19 14:23:20 root ls -lh
 1361  2022-01-19 14:23:29 root cat 73-usb-net-by-mac.link 
 1362  2022-01-19 14:23:41 root ls -lkh
 1363  2022-01-19 14:23:49 root cat 99-default.link 
 1364  2022-01-19 14:23:53 root ls -lh
 1365  2022-01-19 14:24:06 root cat 80-container-ve.network 
 1366  2022-01-19 14:33:23 root lsof -i:5433
 1367  2022-01-19 14:33:45 root ll -la /proc/191686
 1368  2022-01-19 14:34:12 root cd /mnt/data
 1369  2022-01-19 14:34:13 root ls
 1370  2022-01-19 14:34:16 root cd erp
 1371  2022-01-19 14:34:18 root ls -lh
 1372  2022-01-19 14:34:21 root cd odoo13
 1373  2022-01-19 14:34:22 root ls
 1374  2022-01-19 14:34:37 root cd ..
 1375  2022-01-19 14:34:38 root ls -lh
 1376  2022-01-19 14:34:43 root cd ..
 1377  2022-01-19 14:34:44 root ls
 1378  2022-01-19 14:34:55 root rm -rf pgsql12/
 1379  2022-01-19 14:34:57 root ls -lh
 1380  2022-01-19 14:35:10 root systemctl restart postgressql
 1381  2022-01-19 14:35:14 root systemctl restart postgresql
 1382  2022-01-19 14:35:40 root psql -U postgres -d postgres -h localhost -p 5433
 1383  2022-01-19 14:36:09 root psql -U odoo -d jinxiuad -h localhost -p 5433
 1384  2022-01-19 09:01:22 root cd ~
 1385  2022-01-19 09:01:29 root cd /var/log/nginx
 1386  2022-01-19 09:01:30 root ls
 1387  2022-01-19 09:01:34 root cat error.log 
 1388  2022-01-19 09:05:23 root ss -antp
 1389  2022-01-19 09:05:33 root ss -antp | grep 9616
 1390  2022-01-19 09:06:15 root cat error.log 
 1391  2022-01-19 09:06:55 root echo '' > error.log 
 1392  2022-01-19 09:12:18 root nginx -t
 1393  2022-01-19 09:12:23 root cat error.log 
 1394  2022-01-19 09:14:54 root echo '' > error.log 
 1395  2022-01-19 09:15:25 root cat error.log 
 1396  2022-01-19 09:16:49 root echo '' > error.log 
 1397  2022-01-19 09:16:51 root cat error.log 
 1398  2022-01-19 09:17:50 root ss -antp 9616
 1399  2022-01-19 09:17:57 root ss -antp | grep  9616
 1400  2022-01-19 09:18:07 root ss -antp | grep  80
 1401  2022-01-19 09:20:14 root ss -antp | grep  8072
 1402  2022-01-19 09:20:30 root ss -antp | grep  8069
 1403  2022-01-19 09:20:48 root cat error.log 
 1404  2022-01-19 09:21:02 root cat access.log 
 1405  2022-01-19 09:31:02 root echo '' > error.log 
 1406  2022-01-19 09:31:23 root cat error.log 
 1407  2022-01-19 09:31:35 root cat access.log 
 1408  2022-01-19 09:32:00 root ss -antp | grep 9616
 1409  2022-01-19 09:39:51 root cat access.log 
 1410  2022-01-19 09:39:58 root cat error.log 
 1411  2022-01-19 09:41:56 root ping localhost
 1412  2022-01-19 09:42:09 root docker ps -a
 1413  2022-01-19 10:18:39 root cat error.log 
 1414  2022-01-19 10:34:40 root echo '' > /var/log/odoo/odoo-server.log 
 1415  2022-01-19 10:43:17 root cd /mnt/data/odoo
 1416  2022-01-19 10:43:26 root cd /mnt/data/erp/odoo13
 1417  2022-01-19 10:43:28 root ls
 1418  2022-01-19 10:43:31 root ./clearlog-docker.sh 
 1419  2022-01-19 10:43:40 root docker-compose stop
 1420  2022-01-19 10:44:48 root systemctl restart nginx
 1421  2022-01-19 10:44:49 root systemctl restart odoo
 1422  2022-01-19 10:48:26 root echo '' > /var/log/odoo/odoo-server.log
 1423  2022-01-19 10:59:32 root systemctl restart nginx
 1424  2022-01-19 11:05:24 root vi /etc/hostname 
 1425  2022-01-19 11:11:02 root systemctl restart nginx
 1426  2022-01-19 11:51:33 root cat /etc/hosts
 1427  2022-01-19 11:52:05 root vi /etc/hosts
 1428  2022-01-19 11:53:18 root systemctl restart nginx
 1429  2022-01-19 11:55:31 root systemctl restart odoo
 1430  2022-01-19 12:03:11 root docker-compose up -d
 1431  2022-01-19 12:03:48 root docker exec -it -uroot odoo13 /bin/bash
 1432  2022-01-19 15:24:20 root crictl images
 1433  2022-01-19 15:24:35 root critcl images
 1434  2022-01-19 15:25:18 root ctr images
 1435  2022-01-19 15:26:13 root ctr image ls
 1436  2022-01-19 15:26:51 root crictl ps 
 1437  2022-01-19 15:27:46 root ctr i list
 1438  2022-01-19 16:54:23 root docker-compose -v
 1439  2022-01-20 11:47:00 root docker ps -a
 1440  2022-01-20 13:03:27 root docker restart odoo13
 1441  2022-01-20 13:05:26 root docker logs -f odoo13
 1442  2022-01-20 13:07:24 root docker restart odoo13
 1443  2022-01-20 14:10:09 root docker exec -it -uroot postgresdb12 /bin/bash
 1444  2022-01-20 16:21:06 root cd odoo13
 1445  2022-01-20 16:21:07 root ls
 1446  2022-01-20 16:21:09 root cd bash
 1447  2022-01-20 16:21:11 root ls -lkh
 1448  2022-01-20 16:21:14 root ll
 1449  2022-01-20 16:21:25 root chomd +x pg_dump 
 1450  2022-01-20 16:21:39 root chmod +x pg_dump 
 1451  2022-01-20 16:21:41 root ls -lh
 1452  2022-01-20 16:21:45 root ./pg_dump 
 1453  2022-01-20 16:23:06 root ls -lh /bin/bash
 1454  2022-01-20 16:24:58 root ./pg_dump
 1455  2022-01-20 16:25:55 root ll
 1456  2022-01-20 16:26:03 root chmod +x pg_backup 
 1457  2022-01-20 16:26:05 root ./pg_backup 
 1458  2022-01-20 16:26:08 root ./pg_backup
 1459  2022-01-20 16:28:58 root docker exec postgresdb12 pg_dump --dbname=postgresql://odoo:odoo@127.0.0.1:5432/mail13 | gzip > /mnt/data/erp/odoo13/backups/jinxiuad.$(date +%Y%m%d).sql.gz 
 1460  2022-01-20 16:30:41 root chmod +x pg_dump 
 1461  2022-01-20 16:30:48 root ./pg_dump 
 1462  2022-01-20 16:31:48 root ./pg_backup
 1463  2022-01-20 16:32:39 root sed -i -e 's/\r$//'  *
 1464  2022-01-20 16:32:43 root ./pg_dump 
 1465  2022-01-20 16:37:35 root sed -i -e 's/\r$//'  *.sh
 1466  2022-01-20 16:38:18 root pg_d
 1467  2022-01-20 16:38:34 root ./pg_dump.sh
 1468  2022-01-20 16:56:20 root crontab -e
 1469  2022-01-20 16:59:37 root crontab -l
 1470  2022-01-20 16:59:48 root crontab -e
 1471  2022-01-20 17:01:05 root crontab -l
 1472  2022-01-20 17:02:04 root cd ../backups/* ../old/
 1473  2022-01-20 17:02:14 root mv ../backups/* ../old/
 1474  2022-01-20 16:23:46 root cd ~/odoo13/bash
 1475  2022-01-20 16:24:05 root docker exec -it -uroot postgresdb12 /bin/bash
 1476  2022-01-21 20:33:50 root cat /etc/odoo/odoo.conf
 1477  2022-01-21 20:34:56 root cat /etc/nginx/
 1478  2022-01-21 20:35:01 root cd  /etc/nginx/
 1479  2022-01-21 20:35:03 root ls
 1480  2022-01-21 20:35:09 root cd conf.d
 1481  2022-01-21 20:35:09 root ls
 1482  2022-01-21 20:35:14 root vi nginx.proxy.conf 
 1483  2022-01-21 20:43:09 root nginx -t
 1484  2022-01-21 20:43:18 root nginx -reload
 1485  2022-01-21 20:43:22 root nginx --reload
 1486  2022-01-21 20:43:36 root nginx -h
 1487  2022-01-21 20:44:03 root systemctl restart nginx
 1488  2022-01-21 20:44:18 root vi nginx.proxy.conf 
 1489  2022-01-21 20:45:03 root cat nginx.proxy.conf 
 1490  2022-01-21 20:45:41 root exit
 1491  2022-01-30 20:10:43 root cd ~/odoo13/bash
 1492  2022-01-30 20:11:05 root ls -lh
 1493  2022-01-30 20:12:15 root ./pg_restore.sh 
 1494  2022-01-30 20:39:57 root docker restart odoo13
 1495  2022-01-30 21:21:23 root docker exec -it -uroot postgresdb12 /bin/bash
 1496  2022-01-30 16:11:28 root cd ~/odoo13/backups/old
 1497  2022-01-30 16:11:32 root cd ..
 1498  2022-01-30 16:11:34 root ls -lh
 1499  2022-01-30 16:11:40 root ls -lkh
 1500  2022-01-30 16:12:07 root cd ..
 1501  2022-01-30 16:12:09 root ls -lh
 1502  2022-01-30 16:12:22 root ./clearlog-docker.sh 
 1503  2022-01-30 16:12:30 root docker logs -f odoo14
 1504  2022-01-30 16:12:37 root docker logs -f odoo13
 1505  2022-01-30 17:35:40 root cd /mnt
 1506  2022-01-30 17:35:40 root ls
 1507  2022-01-30 17:36:06 root docker exec -it -uroot postgresdb12 /bin/bash
 1508  2022-01-30 23:10:11 root docker restart odoo13
 1509  2022-01-30 23:17:25 root docker exec -it -uroot odoo13 /bin/bash
 1510  2022-01-30 23:33:07 root ls
 1511  2022-01-30 23:33:11 root cd data
 1512  2022-01-30 23:33:12 root l
 1513  2022-01-30 23:33:15 root cd erp
 1514  2022-01-30 23:33:16 root ls
 1515  2022-01-30 23:33:19 root cd odoo13
 1516  2022-01-30 23:33:20 root ls
 1517  2022-01-30 23:33:24 root bash
 1518  2022-01-30 23:33:25 root ls
 1519  2022-01-30 23:33:33 root cd bash
 1520  2022-01-30 23:59:56 root cd ..
 1521  2022-01-30 23:59:57 root ls
 1522  2022-01-31 00:00:00 root cd backups/
 1523  2022-01-31 00:00:01 root ls
 1524  2022-01-31 00:00:35 root gunzip -r jinxiuad_file.sql.gz ./jinxiuad
 1525  2022-01-31 00:02:28 root gzip -r jinxiuad_file.sql.gz ./jinxiuad
 1526  2022-01-31 00:03:31 root gzip  ./jinxiuad jinxiuad_file.gz
 1527  2022-01-30 12:16:51 root history | grep scp
 1528  2022-01-30 12:17:11 root ls
 1529  2022-01-30 12:17:30 root rm -rf index.html*
 1530  2022-01-30 12:17:32 root ls
 1531  2022-01-30 12:17:34 root ls -lh
 1532  2022-01-30 12:17:46 root rm -rf LinuxVMDataDiskAutoInitialize.sh 
 1533  2022-01-30 12:17:56 root dir testln/
 1534  2022-01-30 12:18:02 root cd testln/
 1535  2022-01-30 12:18:03 root ls
 1536  2022-01-30 12:18:05 root ls -lh
 1537  2022-01-30 12:18:13 root cd ../odoo13
 1538  2022-01-30 12:18:13 root ls
 1539  2022-01-30 12:18:21 root cd backups/
 1540  2022-01-30 12:18:21 root ls
 1541  2022-01-30 12:18:25 root ls -lh
 1542  2022-01-30 12:18:40 root mkdir old
 1543  2022-01-30 12:18:42 root cd ols
 1544  2022-01-30 12:18:48 root cd old
 1545  2022-01-30 12:18:49 root ls
 1546  2022-01-30 12:18:51 root ls -lh
 1547  2022-01-30 12:19:13 root scp -r -P 1089  root@218.241.17.239:/data/backup/pgdata/jinxiuad.20220130.sql.gz ./
 1548  2022-01-30 15:03:50 root ls -lh /usr/bin/rsync
 1549  2022-01-30 15:36:27 root scp -r -P 1089  root@218.241.17.239:/var/lib/odoo/.local/share/Odoo/filestore/jinxiuad ./
 1550  2022-01-30 15:48:45 root l
 1551  2022-01-30 15:48:50 root ls -lh
 1552  2022-01-30 15:48:57 root du -sh jinxiuad
 1553  2022-01-30 15:50:11 root df -lh
 1554  2022-01-30 15:50:29 root docker exec -it -uroot postgresdb12 /bin/bash
 1555  2022-01-30 16:09:32 root docker restart odoo13
 1556  2022-01-30 16:17:03 root ls lh
 1557  2022-01-30 16:17:05 root ls -lh
 1558  2022-01-30 16:26:52 root gunzip jinxiuad.20220130.sql.gz 
 1559  2022-01-30 16:30:19 root ls
 1560  2022-01-30 16:30:29 root docker exec -it -uroot postgresdb12 /bin/bash
 1561  2022-01-30 17:38:07 root cd ..
 1562  2022-01-30 17:38:08 root ls -lh
 1563  2022-01-30 17:38:13 root cd ..
 1564  2022-01-30 17:38:14 root ls -lh
 1565  2022-01-30 17:38:17 root cd bash
 1566  2022-01-30 17:38:18 root ls -lh
 1567  2022-01-30 17:38:26 root chmod +x *.sh
 1568  2022-01-30 17:38:39 root ./pg_restore.sh 
 1569  2022-01-30 18:05:42 root docker exec -it -uroot odoo13 /bin/bash
 1570  2022-01-30 18:07:56 root docker restart odoo13
 1571  2022-01-30 18:08:47 root docker exec -it -uroot postgresdb12 /bin/bash
 1572  2022-01-30 18:12:11 root docker exec -it -uroot odoo /bin/bash
 1573  2022-01-30 18:12:16 root docker exec -it -uroot odoo13 /bin/bash
 1574  2022-01-30 18:13:12 root docker restart odoo13
 1575  2022-01-30 20:01:56 root docker exec -it -uroot postgresdb12 /bin/bash
 1576  2022-01-31 11:53:20 root cd odoo13
 1577  2022-01-31 11:53:21 root ls
 1578  2022-01-31 11:53:27 root cd backups
 1579  2022-01-31 11:53:28 root ls
 1580  2022-01-31 11:54:00 root gzip -r jinxiuad jinxiuad.filestore.gz
 1581  2022-01-31 11:54:11 root gzip -r jinxiuad
 1582  2022-01-31 11:54:15 root ls -lh
 1583  2022-01-31 11:54:26 root cd jinxiuad/
 1584  2022-01-31 11:54:27 root ls
 1585  2022-01-31 11:54:29 root ls -lh
 1586  2022-01-31 11:54:32 root cd ..
 1587  2022-01-31 11:54:34 root ls -lh
 1588  2022-01-31 11:55:38 root tar -czvf jinxiuad.filestore.gz jinxiuad
 1589  2022-01-31 11:55:42 root ls -lh
 1590  2022-01-31 13:17:45 root cd ../bash
 1591  2022-01-31 13:17:46 root ls
 1592  2022-01-31 13:17:56 root chmod +x *.sh
 1593  2022-01-31 13:17:58 root ls -lh
 1594  2022-01-31 13:18:25 root ./filestore_cp.sh 
 1595  2022-01-31 13:20:33 root docker exec -it -uroot postgresdb12 /bin/bash
 1596  2022-01-31 13:26:39 root ls -lh
 1597  2022-01-31 13:26:45 root ./filestore_cp.sh 
 1598  2022-01-31 13:30:46 root ls -lh
 1599  2022-01-31 13:30:59 root ./filestore_cp.sh 
 1600  2022-01-31 13:29:11 root cd ~/odoo13/bash
 1601  2022-01-31 13:29:21 root cd ../backups
 1602  2022-01-31 13:29:22 root ls
 1603  2022-01-31 13:29:27 root rm -rf jinxiuad
 1604  2022-01-31 13:29:47 root rm -rf jinxiuad.202201.filestore
 1605  2022-01-31 13:30:03 root rm -rf jinxiuad.202201.filestore.gz
 1606  2022-01-31 13:30:05 root ls -lh
 1607  2022-01-31 13:30:33 root rm -rf jinxiuad.20220131.filestore
 1608  2022-01-31 13:30:36 root ls -lh
 1609  2022-02-07 10:32:46 root cd ~/odoo13
 1610  2022-02-07 10:32:49 root docker cp /mnt/data/erp/odoo13/backups/old/jinxiuad/d9/d99f59ba8dec5c1b8cd11c875948fbbba7f2f36e odoo13:/var/lib/odoo/filestore/jinxiuad/d9/
 1611  2022-02-07 10:35:51 root top
 1612  2022-02-07 10:24:16 root docker ps -a
 1613  2022-02-07 10:24:31 root cd odoo13
 1614  2022-02-07 10:24:31 root ls
 1615  2022-02-07 10:24:34 root ./clearlog-docker.sh 
 1616  2022-02-07 10:24:43 root docker logs -f odoo13
 1617  2022-02-07 10:34:21 root docker restart odoo13
 1618  2022-02-07 10:34:37 root docker logs -f odoo13
 1619  2022-02-07 10:27:01 root cd ~/odoo13
 1620  2022-02-07 10:27:31 root docker exec -it -uroot odoo13 /bin/bash
 1621  2022-02-11 10:50:42 root docker logs -f odoo13
 1622  2022-02-11 10:50:55 root ls -lh
 1623  2022-02-11 10:51:15 root cd odoo13
 1624  2022-02-11 10:51:16 root ls
 1625  2022-02-11 10:51:33 root contrab -e
 1626  2022-02-11 10:51:39 root contab -e
 1627  2022-02-11 10:51:46 root crontab -e
 1628  2022-02-11 11:19:59 root nano docker-compose.yml 
 1629  2022-02-11 11:34:59 root nano /etc/fstab 
 1630  2022-02-11 11:37:36 root disk
 1631  2022-02-11 11:37:39 root disks
 1632  2022-02-11 11:37:42 root df -lh
 1633  2022-02-11 11:41:26 root fdisk -l
 1634  2022-02-11 11:44:28 root fdisk -lhT
 1635  2022-02-11 11:44:35 root fdisk -hT
 1636  2022-02-11 11:44:43 root fdisk -T -lh
 1637  2022-02-11 11:44:55 root fdisk -Th
 1638  2022-02-11 11:45:01 root fdisk -Tl
 1639  2022-02-11 11:45:12 root fdisk -T
 1640  2022-02-11 11:45:22 root df -lhT
 1641  2022-02-11 23:10:33 root ./clearlog-docker.sh 
 1642  2022-02-11 23:10:38 root df -lhT
 1643  2022-02-21 23:44:35 root df -lh
 1644  2022-02-21 23:44:43 root cd /mnt/data
 1645  2022-02-21 23:44:44 root ls
 1646  2022-02-21 23:44:47 root cd erp
 1647  2022-02-21 23:44:47 root ls
 1648  2022-02-21 23:44:53 root cd odoo13
 1649  2022-02-21 23:44:54 root ls
 1650  2022-02-22 22:22:09 root top
 1651  2022-02-22 22:37:09 root docker-compose -v
 1652  2022-02-23 16:53:42 root cd /usr/bin
 1653  2022-02-23 16:53:51 root top
 1654  2022-02-23 11:00:05 root top
 1655  2022-02-23 11:25:18 root ls -lh /proc/1959558
 1656  2022-02-23 11:25:48 root cd /usr/bin
 1657  2022-02-23 11:25:51 root ls -lh
 1658  2022-02-23 11:26:00 root ls -lh | grep python
 1659  2022-02-23 11:26:37 root ls -lh /proc/1959558
 1660  2022-02-23 11:27:07 root ls -lha | grep python
 1661  2022-02-23 14:49:04 root top
 1662  2022-02-23 15:38:03 root cat /etc/os-release
 1663  2022-02-23 16:44:53 root top
 1664  2022-02-23 16:48:24 root docker logs -f odoo14
 1665  2022-02-23 16:48:30 root docker logs -f odoo13
 1666  2022-02-23 20:13:55 root docker exec -it -uroot postgresdb12 /bin/bash
 1667  2022-02-23 20:15:06 root docker exec -it -upostgres postgresdb12 /bin/bash
 1668  2022-05-15 20:14:27 root docker ls 
 1669  2022-05-15 20:14:34 root docker ps -a
 1670  2022-05-15 20:14:47 root du -sh
 1671  2022-05-15 20:14:57 root ls
 1672  2022-05-15 20:15:03 root cd odoo13
 1673  2022-05-15 20:15:04 root ls
 1674  2022-05-15 20:15:24 root cat docker-compose.yml 
 1675  2022-05-15 20:16:23 root top
 1676  2022-08-02 15:12:37 root df -lh
 1677  2022-08-02 15:13:59 root ls
 1678  2022-08-02 15:14:02 root ls -lh 
 1679  2022-08-02 15:14:05 root cd odoo14
 1680  2022-08-02 15:14:08 root cd odoo13
 1681  2022-08-02 15:14:09 root ls =lh
 1682  2022-08-02 15:14:13 root ls -lh
 1683  2022-08-02 15:14:35 root ./clearlog-docker.sh 
 1684  2022-08-02 15:14:38 root df -lh
 1685  2022-08-02 15:15:31 root docker ps -a
 1686  2022-08-02 15:15:53 root top
 1687  2022-08-02 15:17:19 root ls -lh
 1688  2022-08-02 15:17:25 root df -lh
 1689  2022-08-02 15:17:50 root pwd
 1690  2022-08-02 15:18:07 root crontab -e
 1691  2022-08-02 15:28:06 root cd odoo13
 1692  2022-08-02 15:28:08 root ls
 1693  2022-08-02 15:28:17 root cd backups/
 1694  2022-08-02 15:28:19 root ls -lh
 1695  2022-08-03 10:32:30 root docker logs -f erp14
 1696  2022-08-15 10:05:47 root df -lh
 1697  2022-08-17 23:05:47 root ls
 1698  2022-08-17 23:05:55 root git clone https://github.com/shalinwilson/mumtaz.git
 1699  2022-08-17 23:30:44 root ls
 1700  2022-08-17 23:30:54 root cd testln/
 1701  2022-08-17 23:30:54 root ls
 1702  2022-10-08 15:14:19 root df -lh
 1703  2022-10-08 15:14:27 root ls -lh
 1704  2022-10-08 15:14:30 root cd odoo13
 1705  2022-10-08 15:14:31 root ls
 1706  2022-10-08 15:14:41 root ./clearlog-docker.sh 
 1707  2022-10-08 15:14:46 root df -lh
 1708  2022-10-08 15:15:11 root docker ps -a
 1709  2022-10-08 15:15:36 root docker exec -it -uroot odoo13 /bin/bash
 1710  2022-10-15 10:23:42 root docker images
 1711  2022-10-15 10:24:20 root docker cp odoo13:/etc/apt/sources.list .
 1712  2022-10-15 10:24:24 root ls -lh
 1713  2022-10-15 10:24:41 root cat sources.list 
 1714  2022-11-13 15:18:39 root df -lh
 1715  2022-11-13 15:18:48 root ls -lh
 1716  2022-11-13 15:18:53 root cd odoo13
 1717  2022-11-13 15:18:54 root ls
 1718  2022-11-13 15:18:58 root ./clearlog-docker.sh 
 1719  2022-11-13 15:19:01 root df -lh
 1720  2022-11-13 15:19:26 root ls -lh
 1721  2022-11-13 15:19:31 root cd backups/
 1722  2022-11-13 15:19:32 root ls
 1723  2022-11-13 15:19:36 root ls -lh
 1724  2022-11-13 15:20:32 root ls
 1725  2022-11-13 15:20:35 root cd ..
 1726  2022-11-13 15:20:35 root ls
 1727  2022-11-13 15:20:42 root cd ba
 1728  2022-11-13 15:20:44 root cd bash/
 1729  2022-11-13 15:20:45 root ls
 1730  2022-11-13 15:20:52 root cat filestore_cp.sh 
 1731  2022-11-13 15:21:29 root crontab
 1732  2022-11-13 15:21:39 root crontabl -l
 1733  2022-11-13 15:21:56 root crontab -l
 1734  2022-11-13 15:25:54 root crontab -e
 1735  2022-11-13 15:28:20 root ls
 1736  2022-11-13 15:28:32 root crontab -e
 1737  2022-11-13 15:29:19 root ls -lh
 1738  2022-11-13 15:29:20 root top
 1739  2022-11-13 15:29:27 root ls -lh
 1740  2022-11-13 15:29:31 root cd ..
 1741  2022-11-13 15:29:34 root cd backups/
 1742  2022-11-13 15:29:34 root ls
 1743  2022-11-13 15:29:44 root ls -lha
 1744  2022-11-13 15:30:52 root cd old/
 1745  2022-11-13 15:30:53 root ls
 1746  2022-11-13 15:30:57 root ls -lha
 1747  2022-11-13 15:31:53 root ss -antp
 1748  2022-11-13 22:14:25 root cd ~
 1749  2022-11-13 22:14:43 root nginx -t
 1750  2022-11-13 22:15:22 root docker restart odoo13
 1751  2022-11-13 22:20:44 root ss -antp
 1752  2022-11-13 22:21:21 root psql -V
 1753  2022-11-13 22:28:16 root psql -U odoo -h localhost
 1754  2022-11-13 22:28:25 root psql -U odoo13 -h localhost
 1755  2022-11-13 22:28:37 root psql -U postgres -h localhost
 1756  2022-11-13 22:29:00 root cat /etc/passwd
 1757  2022-11-13 22:29:11 root psql -U odoo -h localhost
 1758  2022-11-13 22:30:48 root ss -antp | grep 54
 1759  2022-11-13 22:40:37 root docker ps -a
 1760  2022-11-13 22:41:01 root docker exec -it -upostgres postgresdb12 /bin/bash
 1761  2022-11-13 22:09:49 root top
 1762  2022-11-13 22:10:00 root docker ps -a
 1763  2022-11-13 22:13:34 root docker logs -f odoo13
 1764  2022-11-13 23:20:30 root cd odoo13
 1765  2022-11-13 23:20:31 root ls
 1766  2022-11-13 23:20:44 root docker-compose down
 1767  2022-11-13 23:21:08 root ./clearlog-docker.sh 
 1768  2022-11-13 23:21:14 root docker-compose up -d
 1769  2022-11-13 23:23:08 root docker logs -f odoo13
 1770  2022-11-13 23:24:14 root docker exec -it -uroot odoo13 /bin/bash
 1771  2022-11-13 23:32:14 root docker logs -f odoo13
 1772  2022-11-14 10:06:25 root docker exec -it -uodoo postgresdb12 /bin/bash
 1773  2022-11-14 10:06:46 root docker exec -it -uroot postgresdb12 /bin/bash
 1774  2022-11-14 10:07:14 root docker exec -it -upostgres postgresdb12 /bin/bash
 1775  2022-11-14 10:21:23 root exit
 1776  2022-11-14 10:27:28 root cd ~
 1777  2022-11-14 10:27:39 root docker stop odoo13
 1778  2022-11-14 10:38:08 root docker start odoo13
 1779  2022-11-14 10:51:06 root docker exec -it -upostgres postgresdb12 /bin/bash
 1780  2022-11-14 10:52:54 root docker exec -it -upostgres postgresdb12 /bin/bash single
 1781  2022-11-14 10:53:02 root docker exec -it -upostgres postgresdb12 /bin/bash --single
 1782  2022-11-14 10:54:25 root docker pull postgres:12:12
 1783  2022-11-14 10:54:35 root docker pull postgres:12.12
 1784  2022-11-14 11:01:33 root docker pull  eremiterguo/erp:13
 1785  2022-11-14 10:21:43 root docker exec -it -uroot postgresdb12 /bin/bash
 1786  2022-11-14 10:23:07 root docker exec -it -upostgres postgresdb12 /bin/bash
 1787  2022-11-14 10:25:30 root docker ps -a
 1788  2022-11-14 10:27:47 root docker exec -it -upostgres postgresdb12 /bin/bash
 1789  2022-11-14 10:28:32 root docker exec -it -uroot postgresdb12 /bin/bash
 1790  2022-11-14 10:31:51 root docker exec -it -upostgres postgresdb12 /bin/bash
 1791  2022-11-14 10:32:30 root docker exec -it -upostgres postgresdb12 /bin/bash --single postgres
 1792  2022-11-14 10:32:42 root docker exec -it -upostgres postgresdb12 /bin/bash --single
 1793  2022-11-14 10:34:51 root docker exec -it -upostgres postgresdb12 /bin/bash 
 1794  2022-11-14 11:03:29 root cd odoo13
 1795  2022-11-14 11:03:29 root ls
 1796  2022-11-14 11:03:35 root cd backups/
 1797  2022-11-14 11:03:36 root ls
 1798  2022-11-14 11:03:40 root ls lh
 1799  2022-11-14 11:03:43 root ls -lh
 1800  2022-11-14 11:04:14 root du -sh ./jinxiuad.20221114.filestore/
 1801  2022-11-14 11:04:29 root cd jinxiuad.20221114.filestore
 1802  2022-11-14 11:04:31 root ls -lh
 1803  2022-11-14 11:04:54 root ls -lha
 1804  2022-11-14 14:06:17 root cd /etc/docker
 1805  2022-11-14 14:06:18 root ls
 1806  2022-11-14 14:06:23 root cat daemon.json 
 1807  2022-11-14 14:07:33 root docker exec -it -upostgres postgresdb12 /bin/bash
 1808  2022-11-14 14:21:07 root docker inspect postgresdb12 | grep _data
 1809  2022-11-14 14:22:11 root docker run --mount type=bind,source="/var/lib/docker/volumes/odoo13_dbdata12.2/_data",target="/var/lib/postgresql/data"  -it postgres:12.2 /bin/bash
 1810  2022-11-14 14:25:11 root docker exec -it -upostgres postgresdb12 /bin/bash
 1811  2022-11-14 14:26:19 root alter user odoo13 CREATEDB CREATEROLE REPLICATION BYPASSRLS;
 1812  2022-11-14 14:26:27 root docker exec -it -upostgres postgresdb12 /bin/bash
 1813  2022-11-14 15:01:04 root cd ~/odoo13
 1814  2022-11-14 15:01:05 root ls
 1815  2022-11-14 15:01:07 root ./clearlog-docker.sh 
 1816  2022-11-14 15:01:17 root docker logs -f odoo13
 1817  2022-11-14 13:58:38 root cd ~
 1818  2022-11-14 13:58:48 root docker images
 1819  2022-11-14 13:59:20 root docker pull  eremiterguo/erp:13
 1820  2022-11-14 14:53:23 root docker tag eremiterguo/erp:13 erp:13
 1821  2022-11-14 14:53:38 root docker rmi eremiterguo/erp:13
 1822  2022-11-14 14:58:01 root docker exec -it -upostgres postgresdb12 /bin/bash
 1823  2022-11-15 10:05:27 root cd odoo13
 1824  2022-11-15 10:05:28 root ls
 1825  2022-11-15 10:05:32 root cd backups/
 1826  2022-11-15 10:05:33 root ls
 1827  2022-11-15 10:05:35 root ls -lha
 1828  2022-11-15 10:06:10 root du -sh ./jinxiuad.20221115.filestore
 1829  2022-11-15 10:35:12 root docker exec -it -upostgres postgresdb12 /bin/bash
 1830  2022-11-15 11:01:12 root cd ..
 1831  2022-11-15 11:01:13 root ls
 1832  2022-11-15 11:01:16 root ./clearlog-docker.sh 
 1833  2022-11-15 11:01:38 root docker logs -f jinxiuad
 1834  2022-11-15 11:01:45 root docker logs -f odoo13
 1835  2022-11-15 10:35:22 root cd ~/odoo13/backups
 1836  2022-11-15 10:39:46 root ping crm13.solidworksmail.com
 1837  2022-11-15 10:47:31 root ls -lha
 1838  2022-11-15 10:52:03 root gunzip jinxiuad.20221114.sql.gz
 1839  2022-11-15 10:53:44 root ls -lha
 1840  2022-11-15 10:55:22 root docker exec -it -uroot odoo13 /bin/bash
 1841  2022-11-15 10:58:58 root df -lh
 1842  2022-11-15 10:59:22 root cd /etc/postgresql
 1843  2022-11-15 10:59:23 root ls
 1844  2022-11-15 10:59:24 root cd 12
 1845  2022-11-15 10:59:24 root ls
 1846  2022-11-15 10:59:26 root cd main
 1847  2022-11-15 10:59:27 root ls
 1848  2022-11-16 16:04:54 root docker logs -f odoo13
 1849  2022-11-17 19:29:23 root cd odoo13
 1850  2022-11-17 19:29:24 root ls
 1851  2022-11-17 19:29:28 root ./clearlog-docker.sh 
 1852  2022-11-17 19:29:50 root docker logs -f odoo13 | grep db
 1853  2022-11-18 20:47:03 root clear
 1854  2022-11-19 10:14:52 root docker logs -f odoo13 | grep db
 1855  2022-11-19 10:15:26 root cd /odoo13
 1856  2022-11-19 10:15:27 root ls
 1857  2022-11-19 10:15:29 root cd erp
 1858  2022-11-19 10:15:32 root cd /opt
 1859  2022-11-19 10:15:34 root cd erp
 1860  2022-11-19 10:15:37 root cd odoo13
 1861  2022-11-19 10:15:38 root ls
 1862  2022-11-19 10:15:44 root cd ~
 1863  2022-11-19 10:15:46 root ls
 1864  2022-11-19 10:15:49 root cd odoo13
 1865  2022-11-19 10:15:49 root ls
 1866  2022-11-19 10:15:53 root ./clearlog-docker.sh 
 1867  2022-11-19 10:16:10 root docker logs -f odoo13 | grep db
 1868  2022-12-03 16:01:49 root cat /etc/passwd
 1869  2022-12-03 16:02:26 root passwd omanager
 1870  2022-12-03 16:05:05 root su omanager
 1871  2022-12-03 16:05:26 root vi /etc/ssh/ssh_config
 1872  2022-12-03 16:08:49 root docker exec -it -upostgres postgresdb12 /bin/bash
 1873  2022-12-05 20:01:22 root ls -lh
 1874  2022-12-05 20:01:26 root cd odoo13
 1875  2022-12-05 20:01:27 root s
 1876  2022-12-05 20:01:29 root ls
 1877  2022-12-06 16:15:18 root top
 1878  2022-12-06 17:03:49 root antp -it
 1879  2022-12-06 17:05:29 root sudo adduser huawei  sudo
 1880  2022-12-06 17:06:38 root adduser huawei
 1881  2022-12-06 17:07:39 root sudo adduser huawei sudo
 1882  2022-12-06 17:07:42 root id sudo
 1883  2022-12-06 17:07:48 root id huawei
 1884  2022-12-06 17:08:15 root cd /etc/sudoers/
 1885  2022-12-06 17:08:23 root cat /etc/sudoers
 1886  2022-12-06 17:08:33 root /huaiwe
 1887  2022-12-06 17:08:38 root cd /etc/sudoers.d/
 1888  2022-12-06 17:08:38 root ls
 1889  2022-12-06 17:08:53 root cat omanager 
 1890  2022-12-06 17:09:47 root echo "huawei ALL=(ALL) ALL" > huawei
 1891  2022-12-06 17:09:49 root ls -lha
 1892  2022-12-06 17:12:56 root cd ~
 1893  2022-12-06 17:12:56 root ls
 1894  2022-12-06 17:12:59 root cd odoo13
 1895  2022-12-06 17:13:01 root ls -lha
 1896  2022-12-06 17:13:03 root cd ..
 1897  2022-12-06 17:13:05 root ls -lha
 1898  2022-12-06 17:14:43 root crontab -l
 1899  2022-12-06 17:15:43 root ss -antp
 1900  2022-12-06 17:27:14 root passwd root
 1901  2022-12-06 17:29:43 root netstat -napt | grep SYN
 1902  2022-12-06 17:29:44 root ps auxf | more
 1903  2022-12-06 18:40:47 root cat /etc/passwd
 1904  2022-12-06 18:42:29 root netstat -napt | grep SYN
 1905  2022-12-06 18:42:30 root ps auxf | more
 1906  2022-12-06 18:43:33 root ps auxf | more | grep 109.206.241
 1907  2022-12-06 18:44:11 root ls -lha
 1908  2022-12-06 18:55:29 root cd odoo13
 1909  2022-12-06 18:55:31 root ls -lha
 1910  2022-12-06 18:55:43 root rm odoo_13.0.20220112_all.deb 
 1911  2022-12-06 18:56:13 root cd backups/
 1912  2022-12-06 18:56:15 root ls -lha
 1913  2022-12-06 18:57:06 root cd old
 1914  2022-12-06 18:57:07 root ls -lha
 1915  2022-12-06 18:57:23 root cd .. 
 1916  2022-12-06 18:57:25 root ls -lha
 1917  2022-12-06 18:57:49 root cd ls -lh
 1918  2022-12-06 18:57:52 root cd ..
 1919  2022-12-06 18:57:54 root ls -lha
 1920  2022-12-06 18:58:00 root cd odoo-backup-old/
 1921  2022-12-06 18:58:01 root ls -lh
 1922  2022-12-06 18:58:08 root ls -lha
 1923  2022-12-06 18:58:10 root cd ..
 1924  2022-12-06 18:58:12 root ls -lha
 1925  2022-12-06 18:58:21 root rm -rf odoo-backup-old/
 1926  2022-12-06 18:58:30 root cd old
 1927  2022-12-06 18:58:31 root ls -lha
 1928  2022-12-06 18:58:39 root cd .. -lha
 1929  2022-12-06 18:58:42 root cd .. 
 1930  2022-12-06 18:58:44 root ls -lha
 1931  2022-12-06 18:58:52 root rm -rf old
 1932  2022-12-06 18:59:01 root df -lha
 1933  2022-12-06 18:59:17 root ls -lha
 1934  2022-12-06 18:59:20 root df -lh
 1935  2022-12-06 18:59:32 root ./clearlog-docker.sh 
 1936  2022-12-06 18:59:36 root df -lh
 1937  2022-12-06 19:00:00 root ls -lha
 1938  2022-12-06 19:01:57 root rm .pip/
 1939  2022-12-06 19:02:02 root rm -rf .pip/
 1940  2022-12-06 19:02:04 root ls -lha
 1941  2022-12-06 19:02:18 root mv backups/ ../
 1942  2022-12-06 19:02:21 root ls -lha
 1943  2022-12-06 19:02:27 root cd ..
 1944  2022-12-06 19:02:28 root ls -lha
 1945  2022-12-06 19:02:57 root tar odoo13jinxiuad.tar odoo13
 1946  2022-12-06 19:03:07 root tar czxf odoo13jinxiuad.tar odoo13
 1947  2022-12-06 19:03:58 root tar czvf odoo13jinxiuad.tar odoo13
 1948  2022-12-06 19:04:20 root tar czvf odoo13jinxiuad.tar /mnt/data/erp/odoo13
 1949  2022-12-06 19:05:50 root ls -lha
 1950  2022-12-06 19:10:24 root scp -P 8022 odoo13jinxiuad.tar ubuntu@101.35.190.92 /opt/erp/
 1951  2022-12-06 19:10:38 root scp -P 8022 odoo13jinxiuad.tar ubuntu@101.35.190.92:/opt/erp/
 1952  2022-12-06 19:15:30 root ls
 1953  2022-12-06 19:15:47 root cd odoo13
 1954  2022-12-06 19:15:49 root ls -lha
 1955  2022-12-06 19:16:12 root cd ..
 1956  2022-12-06 19:16:13 root ls
 1957  2022-12-06 19:16:18 root cd /mnt/data/
 1958  2022-12-06 19:16:20 root ls
 1959  2022-12-06 19:16:24 root cd erp
 1960  2022-12-06 19:16:24 root ls
 1961  2022-12-06 19:16:37 root mv backups/ odoo13
 1962  2022-12-06 19:16:41 root cd odoo13
 1963  2022-12-06 19:16:41 root ls
 1964  2022-12-06 19:16:53 root cd backups/
 1965  2022-12-06 19:16:54 root ls -lha
 1966  2022-12-06 19:17:31 root scp -P 8022 jinxiuad.20221206.sql.gz  ubuntu@101.35.190.92:/opt/erp/backups
 1967  2022-12-06 19:19:46 root scp -P 8022 jinxiuad.20221206.filestore  ubuntu@101.35.190.92:/opt/erp/backups
 1968  2022-12-06 19:20:08 root scp -R -P 8022 jinxiuad.20221206.filestore  ubuntu@101.35.190.92:/opt/erp/backups
 1969  2022-12-06 19:20:26 root scp -r -P 8022 jinxiuad.20221206.filestore  ubuntu@101.35.190.92:/opt/erp/backups
 1991  2022-12-06 19:52:59 root cd .ssh
 1992  2022-12-06 19:53:01 root ls -lha
 1993  2022-12-06 19:53:16 root cd ..
 1994  2022-12-06 19:53:47 root tar czvf ssh_key.tar .ssh
 1995  2022-12-06 19:54:13 root cp ssh_key.tar /mnt/data/erp/
 1996  2022-12-06 21:13:22 root strings /var/log/auth.log* |grep odoo
 1997  2022-12-06 21:17:53 root echo '' >  /var/log/auth.log
 1998  2022-12-06 21:17:57 root strings /var/log/auth.log* |grep odoo
 1999  2022-12-06 21:21:46 root last
 2000  2022-12-06 21:22:07 root lastlog
 2001  2022-12-06 21:23:25 root history
 2002  2022-12-06 21:24:01 root lastlog
 2003  2022-12-06 21:24:59 root who
 2004  2022-12-06 21:25:42 root clear
 2005  2022-12-06 21:25:47 root who
 2006  2022-12-06 21:25:51 root last
 2007  2022-12-06 21:26:00 root lastlog
 2008  2022-12-06 21:26:36 root cat /home/ubuntu-xz/.bash_history |less
 2009  2022-12-06 21:27:01 root history

为了方便排查问题,需要在每个执行命令前加上执行时间
修改配置文件:

ubuntu@mail:~$ sudo vim /etc/profile
HISTTIMEFORMAT="%Y-%m-%d:%H-%M-%S:`whoami`: "
export HISTTIMEFORMAT


ubuntu@mail:~$ source /etc/profile


点赞(235) 打赏

评论列表 共有 0 条评论

暂无评论

微信小程序

微信扫一扫体验

立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部