Then I accidentally discovered that one of my cloud servers was poisoned by the miner xmrig, continued! !
Today is mainly to synchronize with you the results of yesterday's processing, haha!
As of the time of my posting, I haven't seen the mining machine running again! ! !
Share another method to disable root remote login (use other users su in the past):
$ sudo vi /etc/ssh/sshd_config
Find PermitRootLogin and set to no:
PermitRootLogin no
$ sudo service ssh restart
参考: How to disable ssh password login on Linux to increase security