mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-13 06:09:47 +02:00
add reconfigure
This commit is contained in:
parent
d4478e5fd6
commit
b7bda4c744
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user