mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 09:00:26 +00:00
Create enable_ssh_root.sh
This commit is contained in:
parent
87cb65e8d9
commit
47b3983896
1 changed files with 5 additions and 0 deletions
5
scripts/enable_ssh_root.sh
Normal file
5
scripts/enable_ssh_root.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
sudo sed -i 's/#PermitRootLogin yes/PermitRootLogin yes/' /etc/ssh/sshd_config
|
||||
sudo systemctl restart sshd
|
||||
sudo passwd root
|
Loading…
Reference in a new issue