mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-20 13:02:21 +02:00
add reconfigure
This commit is contained in:
@@ -56,6 +56,7 @@ if [ "$1" = "checkrepair" ]; then
|
|||||||
echo "# DETECTED: MISSING SSHD KEYFILES --> Generating new ones"
|
echo "# DETECTED: MISSING SSHD KEYFILES --> Generating new ones"
|
||||||
sudo systemctl stop sshd
|
sudo systemctl stop sshd
|
||||||
sudo ssh-keygen -A
|
sudo ssh-keygen -A
|
||||||
|
sudo dpkg-reconfigure openssh-server
|
||||||
sudo systemctl start sshd
|
sudo systemctl start sshd
|
||||||
sudo ls -la /etc/ssh
|
sudo ls -la /etc/ssh
|
||||||
sleep 3
|
sleep 3
|
||||||
|
Reference in New Issue
Block a user