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
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
why only 1024bit for RSA? The default is 2048
— Chris Jones on Tuesday, May 13, 2008 23:59 #
aka rm /etc/ssh/sshhost* && dpkg-reconfigure openssh-server ;)
— Marek Kubica on Friday, May 16, 2008 13:40 #