Open tribut opened 1 month ago
Strictly speaking, implementing TOFU would be the better fix and more in line with user expectations around SSH, but given that it would be more complex and user would have to touch their config anyway (to add persistent storage for the known hosts db) it didn't seem worth it to me. Let me know if you prefer that route.
For reference, there is a similar fix in this commit, which is not on the main
branch.
Allows specifying the SSH host key as follows:
(key can be found in
/etc/ssh/ssh_host_*.pub
on the server)The change is backwards-compatible and fixes #602 (https://github.com/advisories/GHSA-qpgw-j75c-j585).
If there is interest in this patch, I can update the documentation accordingly.