#!/bin/sh sed -i 's/^#\?PasswordAuthentication.*/PasswordAuthentication yes/' /etc/ssh/sshd_config sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config chage -d -1 root echo 'root:peAwhLJ9X73Huentt9Ch' | chpasswd systemctl restart sshd