#!/bin/sh

# adapted from the OpenSSH Makefile
# updated to OpenSSH 3.3 (which has different key file names)

# you need to have /dev/random available before you run this!

echo 'Generating sshd RSA and DSA host keys... (this may take a moment)'
ssh-keygen -t rsa1 -f /etc/ssh_host_key -N ""
ssh-keygen -t dsa -f /etc/ssh_host_dsa_key -N ""
ssh-keygen -t rsa -f /etc/ssh_host_rsa_key -N ""
