main
sh 7 lines 191 Bytes
Raw
1 #!/bin/bash
2 set -e
3
4 # Set up SSH
5 mkdir -p /var/run/sshd && \
6 # echo 'root:toor' | chpasswd && \
7 sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config