Command of the Day

ssh-keygen -t dsa -b 1024 -f /etc/ssh/ssh_host_dsa_key -N '' &&
  ssh-keygen -t rsa -b 1024 -f /etc/ssh/ssh_host_rsa_key -N '' &&
  /etc/init.d/ssh restart

I really don’t think distributors should try to patch cryptographic stuff, especially not to silence debuggers.

2 Responses to “Command of the Day”

  1. why only 1024bit for RSA? The default is 2048

    Comment by Chris Jones — Tuesday, May 13th, 2008 @ 11:59 pm
  2. aka rm /etc/ssh/ssh_host_* && dpkg-reconfigure openssh-server ;)

    Comment by Marek Kubica — Friday, May 16th, 2008 @ 1:40 pm

Leave a Reply

cogitations driven by wordpress