mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-21 23:20:23 +00:00
5 lines
137 B
Bash
5 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
|