mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-13 14:19:20 +02:00
remove old ssh key generation
This commit is contained in:
parent
0f1c4d253d
commit
271064c49c
@ -220,18 +220,6 @@ randnum=$(shuf -i 0-7 -n 1)
|
||||
sleep 5
|
||||
/home/admin/config.scripts/blitz.display.sh hide
|
||||
|
||||
################################
|
||||
# GENERATE UNIQUE SSH PUB KEYS
|
||||
# on first boot up
|
||||
################################
|
||||
|
||||
numberOfPubKeys=$(sudo ls /etc/ssh/ | grep -c 'ssh_host_')
|
||||
if [ ${numberOfPubKeys} -eq 0 ]; then
|
||||
echo "*** Generating new SSH PubKeys" >> $logFile
|
||||
sudo dpkg-reconfigure openssh-server
|
||||
echo "OK" >> $logFile
|
||||
fi
|
||||
|
||||
################################
|
||||
# CLEANING BOOT SYSTEM
|
||||
################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user