It would be very useful if openssh could have the same sort of hostinstall target that traditional ssh does. The ssh programs only have to be installed once, for central distribution via nfs or rdist or whatever, but every host needs its key ... Thanks for a great program. karl at gnu.org
On Sun, 24 Dec 2000 karl at gnu.org wrote:> It would be very useful if openssh could have the same sort of > hostinstall target that traditional ssh does. The ssh programs only > have to be installed once, for central distribution via nfs or rdist or > whatever, but every host needs its key ...What does the hostinstall target do? OpenSSH does support a "host-key" which will generate keys in @sysconfdir@ -d -- | ``We've all heard that a million monkeys banging on | Damien Miller - | a million typewriters will eventually reproduce the | <djm at mindrot.org> | works of Shakespeare. Now, thanks to the Internet, / | we know this is not true.'' - Robert Wilensky UCB / http://www.mindrot.org
Hi Damien, What does the hostinstall target do? OpenSSH does support a "host-key" which will generate keys in @sysconfdir@ Yes, and this is the most important thing that hostinstall does too. However, host-key by itself fails by itself without doing a full `install' first: couldn't read entropy commands file /l/etc/openssh/ssh_prng_cmds: No such file or directory couldn't read entropy commands file /l/etc/openssh/ssh_prng_cmds: No such file or directory (I've configured with --sysconfdir=/l/etc/openssh.) So, the parts of install that host key generation depends on could be split off into a separate target, that host-key could depend on. This is ssh_prng_commands and the config files, at least; I didn't actually try it, so don't know if there's anything else. Thanks (and happy holidays :), Karl