How to set minimum size of accepted rsa key

RAVI PRATAP Singh singh.ravipratap88 at gmail.com
Thu Jul 11 00:27:13 EST 2013


Hi eveyone,

Is there a way to set the minimum size accepted by sshd as an RSA public
key?

I want to restrict users to using RSA keys that are generated with
ssh-keygen -b 2048 or greater.

I didn't see any option in sshd_config. There is a ServerKeyBits option,
but that seems to apply only for SSHv1.
Please help me and provide your response.Thanks in advance.

Regards
Ravi Pratap


More information about the openssh-unix-dev mailing list