How to change key size in OpenSSH? I would like to change it from 1024 key size length to 512.

link|improve this question
feedback

2 Answers

I am pretty sure this is what you are after. You need to use ssh-keygen.

ssh-keygen -t rsa -b 512

this should create a 512 rsa crypto key

link|improve this answer
feedback

There's also a ServerKeyBits option in sshd_config, can set that to a minimum of 512.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown