add reconfigure

This commit is contained in:
rootzoll 2021-08-20 15:24:05 +02:00
parent d4478e5fd6
commit b7bda4c744

View file

@ -56,6 +56,7 @@ if [ "$1" = "checkrepair" ]; then
echo "# DETECTED: MISSING SSHD KEYFILES --> Generating new ones"
sudo systemctl stop sshd
sudo ssh-keygen -A
sudo dpkg-reconfigure openssh-server
sudo systemctl start sshd
sudo ls -la /etc/ssh
sleep 3