ssh-keygen -b 1024 -t rsa1 -f /etc/openssh/ssh_host_key -N "" ssh-keygen -b 1024 -t dsa -f /etc/openssh/ssh_host_dsa_key -N "" ssh-keygen -b 1024 -t rsa -f /etc/openssh/ssh_host_rsa_key -N ""