Armin Ronacher

Command of the Day

written by Armin Ronacher, on Tuesday, May 13, 2008 15:49.

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.

Comments

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

    —  Chris Jones on Tuesday, May 13, 2008 23:59 #

  2. aka rm /etc/ssh/sshhost* && dpkg-reconfigure openssh-server ;)

    —  Marek Kubica on Friday, May 16, 2008 13:40 #

Leave a Reply