Yo All! I was just looking at the "other" SSH for ideas. There is one thing in their install that would be nice. When they do a 'make install' they check to see if a host key already exists and if it does not they create one and install it. This sure makes life simple and should be simple to code in the Makefile. RGDS GARY --------------------------------------------------------------------------- Gary E. Miller Rellim 20340 Empire Ave, Suite E-3, Bend, OR 97701 gem at rellim.com Tel:+1(541)382-8588 Fax: +1(541)382-8676
On Wed, 21 Jun 2000, Gary E. Miller wrote:> I was just looking at the "other" SSH for ideas. There is > one thing in their install that would be nice. When they do a > 'make install' they check to see if a host key already exists and > if it does not they create one and install it. This sure makes life > simple and should be simple to code in the Makefile.Along those lines, I think it's worth noting that Damien's contrib/redhat/openssh.spec file does a very nice job with that: %files clients ... %attr(0644,root,root) %config(noreplace) /etc/ssh/ssh_config %files server ... %attr(0600,root,root) %config(noreplace) /etc/ssh/sshd_config %attr(0600,root,root) %config(noreplace) /etc/pam.d/sshd Bravo! Paul Heinlein heinlein at cse.ogi.edu
On Wed, 21 Jun 2000, Gary E. Miller wrote:> Yo All! > > I was just looking at the "other" SSH for ideas. There is > one thing in their install that would be nice. When they do a > 'make install' they check to see if a host key already exists and > if it does not they create one and install it. This sure makes life > simple and should be simple to code in the Makefile.There is a "make host-key" target in there already - it shouldn't be too much work to hook it up to the install process. -- | "Bombay is 250ms from New York in the new world order" - Alan Cox | Damien Miller - http://www.mindrot.org/ | Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)