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


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130804081950.GA23754@tuzo

Reply via email to