This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
echo "Choose root password:" | |
passwd | |
mkdir -p /root/.ssh/ | |
#You may want to add some authorized keys | |
#echo "$key" > /root/.ssh/authorized_keys |