diff --git a/scripts/enable_ssh_root.sh b/scripts/enable_ssh_root.sh new file mode 100644 index 00000000..2a021bcc --- /dev/null +++ b/scripts/enable_ssh_root.sh @@ -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