Fix detecting openssh key
This commit is contained in:
parent
5f99726988
commit
368afcdfd9
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ copy_openssh_keys() {
|
||||||
return_code=1
|
return_code=1
|
||||||
|
|
||||||
for kt in $KEY_TYPES; do
|
for kt in $KEY_TYPES; do
|
||||||
osshkey="/etc/ssh/ssh_host_$kt"
|
osshkey="/etc/ssh/ssh_host_${kt}_key"
|
||||||
if [ -s "$osshkey" ]; then
|
if [ -s "$osshkey" ]; then
|
||||||
dropbearconvert \
|
dropbearconvert \
|
||||||
openssh dropbear \
|
openssh dropbear \
|
||||||
|
|
Loading…
Reference in a new issue