[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SSHD Keys



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


Reply to: