fetzerms / cryptboot-ssh

Retrieve cryptsetup keyfiles via ssh automatically at boot.
GNU General Public License v2.0
18 stars 9 forks source link

Fixing host key verification error #3

Closed 459below closed 7 years ago

459below commented 7 years ago

This adds the "known hosts" option to the connect command by dropbear. Otherwise it would complain about the host key while booting and won't unlock our disk. This happens on a stretch/testing debian system.

fetzerms commented 7 years ago

Did your raspian require this patch? It uses (at least on the distros I tested) /root/.ssh/known_hosts by default. Afair changing the UserKnownHostsFile would only make sense when specifying a special file.

459below commented 7 years ago

Raspbian 7.11 did went smoothly without any modification to your code. Like I mentioned in the other thread, I didn't say that this is about sid/stretch on testing. Sorry about that.