mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 01:00:20 +08:00
6 lines
137 B
Bash
6 lines
137 B
Bash
#!/bin/bash
|
|
|
|
sudo sed -i 's/#PermitRootLogin yes/PermitRootLogin yes/' /etc/ssh/sshd_config
|
|
sudo systemctl restart sshd
|
|
sudo passwd root
|