SSH private keys

Jens Ruehmkorf ruehmkorf at informatik.Uni-Koeln.DE
Fri Sep 21 11:54:20 CEST 2001


> Since I expect to be reinstalling machines many times during their
> lifespan, as things stand they will change private keys many times.

Create ssh-keys for each install-host (matching a class HOST) via

> ssh-keygen -f /files/etc/ssh/ssh_host_key/HOST -N ''

same like using "-t rsa1", which is the default

> ssh-keygen -t rsa -f /files/etc/ssh/ssh_host_rsa_key/HOST -N ''
> ssh-keygen -t dsa -f /files/etc/ssh/ssh_host_dsa_key -N ''

Put it into the appropriate place under files/ and have it copied each
time you install your clients. [During installation, ssh.postinst will
skip it.]

Kind Regards, Jens

--
ruehmkorf at informatik dot uni hyphen koeln dot de



More information about the linux-fai mailing list