Utils
This commit is contained in:
@@ -4,8 +4,12 @@ Examples to install
|
||||
|
||||
Обновить ssh
|
||||
```bash
|
||||
sudo sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes\n/' /etc/ssh/sshd_config
|
||||
sudo sed -i 's/#PermitRootLogin yes/PermitRootLogin yes\n/' /etc/ssh/sshd_config
|
||||
|
||||
sudo sed -i 's/AllowUsers root@92.255.251.110 root@51.77.60.29 sem/AllowUsers root@92.255.251.110 root@158.69.30.144 root@65.109.116.119 sem\n/' /etc/ssh/sshd_config
|
||||
sudo service ssh restart
|
||||
passwd root
|
||||
```
|
||||
|
||||
Pre-install clear OS (LCX)
|
||||
|
||||
Reference in New Issue
Block a user