On 8/4/2013 4:19 AM, Sean Alexandre wrote:
On Sat, Aug 03, 2013 at 10:16:08PM -0400, Jerry Stuckle wrote:
I was just renewing my SSHD keys (dpkg-reconfigure openssh-server)
and noticed it is generating 512 bit RSA keys.  This isn't all that
secure.

How can I get it to generate better keys?

As root:

rm /etc/ssh/ssh_host*
ssh-keygen -N '' -b 4096 -t rsa -f /etc/ssh/ssh_host_rsa_key



Thanks, Sean - that did it!

Jerry


--
To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to