1 #! /bin/sh 2 3 #syslogd 4 mkdir -p /run/sshd 5 ssh-keygen -A 6 echo "root:$1" | chpasswd 7 /usr/sbin/sshd 8 9