mirror of https://github.com/parazyd/arm-sdk.git
Use ssh-keygen -A instead of dpkg-reconfigure to regen ssh keys.
This commit is contained in:
parent
c8f1a3b9c5
commit
0356a77ede
|
|
@ -10,6 +10,6 @@
|
|||
# bits.
|
||||
|
||||
## regen ssh keys on first boot
|
||||
[ -f /etc/ssh/ssh_host_rsa_key.pub ] || dpkg-reconfigure openssh-server
|
||||
[ -f /etc/ssh/ssh_host_rsa_key.pub ] || ssh-keygen -A
|
||||
|
||||
exit 0
|
||||
|
|
|
|||
Loading…
Reference in New Issue