mirror of
https://github.com/brain-hackers/brain-config.git
synced 2024-12-22 20:20:06 +09:00
Make sure SSH host keys are generated when SSH is enabled
This commit is contained in:
parent
3729cabb4d
commit
56d4264783
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -2,6 +2,7 @@ raspi-config (20190429) buster; urgency=medium
|
|||||||
|
|
||||||
* Update do_wifi_country
|
* Update do_wifi_country
|
||||||
- Enable wifi regardless of whether /run/wifi-country-unset exists
|
- Enable wifi regardless of whether /run/wifi-country-unset exists
|
||||||
|
* Make sure SSH host keys are generated when SSH is enabled
|
||||||
-- Serge Schneider <serge@raspberrypi.org> Mon, 29 Apr 2019 14:52:56 +0100
|
-- Serge Schneider <serge@raspberrypi.org> Mon, 29 Apr 2019 14:52:56 +0100
|
||||||
|
|
||||||
raspi-config (20190424) stretch; urgency=medium
|
raspi-config (20190424) stretch; urgency=medium
|
||||||
|
@ -676,6 +676,7 @@ do_ssh() {
|
|||||||
RET=$1
|
RET=$1
|
||||||
fi
|
fi
|
||||||
if [ $RET -eq 0 ]; then
|
if [ $RET -eq 0 ]; then
|
||||||
|
ssh-keygen -A &&
|
||||||
update-rc.d ssh enable &&
|
update-rc.d ssh enable &&
|
||||||
invoke-rc.d ssh start &&
|
invoke-rc.d ssh start &&
|
||||||
STATUS=enabled
|
STATUS=enabled
|
||||||
|
Loading…
Reference in New Issue
Block a user