On Wed, 8 Sep 2010, Damien Miller wrote: > On Tue, 7 Sep 2010, Todd T. Fries wrote: > > > I am not sure of a better way than what you've proposed, but the logic > > does make perfect sense to me. > > > > As a shortened version of what you proposed: > > > > [snip] > > my, that is complicated. Is there anything we could do in ssh-keygen to > make this simpler?
So, what would be nice is if ssh-keygen could automatically generate all the hostkeys that don't already exist. The default paths are already there in pathnames.h, so we just need a new option to iterate through each keytype checking whether it exists and, if not, generating it and saving it to the appropriate path. Anyone want to have a go at this? (I won't have time for a couple of weeks) -d