Maximum key length

I’m struggling to get SSHLibrary to work with my embedded system that does not have a root password. I have tried to generate keys in order to get around this, but is there a maximum size?

I’m seeing this error when trying to login.

ValueError: q must be exactly 160, 224, or 256 bits long

My default key generator can’t make anything less than 1024 bits.

Thanks for any hints

This is most likely due to an issue with the dropbear SSH server that I am connecting to.