News for hackers. Stuff that matters.
Re:Tinyssh by maxcoder4 on Sunday March 24, 2024 @06:51AM (#39806342)
Dropbear ssh is very useful when you have a full disk encryption on a remote server and want to be able to decrypt it after a reboot.
Re:Tinyssh by Nextgrid on Sunday March 24, 2024 @07:15AM (#39806442)
There's technically no reason OpenSSHd can't also be used in this context. Maybe 2 decades ago there was a legitimate performance/disk space reason which is why Dropbear was preferred for this use case (and the convention remains to do this day), but nowadays the couple megabytes of difference in your initrd between using Dropbear and OpenSSH won't matter.
Re:Tinyssh by m45t3r on Sunday March 24, 2024 @09:34AM (#39807124)
> There's technically no reason OpenSSHd can't also be used in this context.

For initrd you generally prefer static binaries. Not saying that OpenSSHd doesn't build statically, but having less code and dependencies makes it easier to statically compile.

But yes, technically there is no reason to not use OpenSSHd, but in practice having a smaller and more self contained binary helps considering that you would want the bare minimum during initrd.

Re:Tinyssh by akerl_ on Sunday March 24, 2024 @09:45AM (#39807191)
What dependencies does openssh have?
Re:Tinyssh by mkj on Sunday March 24, 2024 @10:48AM (#39807561)
OpenSSL
Re:Tinyssh by 1oooqooq on Sunday March 24, 2024 @01:15PM (#39808558)
if you don't care for v1 and odd cyphers, --without-openssl