mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-25 15:10:38 +01:00
add reconfigure
This commit is contained in:
parent
d4478e5fd6
commit
b7bda4c744
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue