istoreos: failsafe mode skip longterm ssh key generation

This commit is contained in:
jjm2473 2022-05-30 17:02:43 +08:00
parent 1606b078f3
commit 66ed802300
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,4 @@
failsafe_dropbear () {
cp -a /etc/dropbear/dropbear_failsafe_host_key /tmp/dropbear_failsafe_host_key
dropbear -r /tmp/dropbear_failsafe_host_key <> /dev/null 2>&1
}