make install

Gary E. Miller gem at rellim.com
Thu Jun 22 08:36:20 EST 2000


Yo Paul!

I just installed 2.1.1p1 on a clean host and I do not see these
in the Makefile.  I do see a "make host-key" that I missed before but it
is not called by default from "make install" and does not check before
clobbering any existing keys.

I see the lines that you are talking about in the redhat and suse
stuff but I do not use those.  Having it in the makefile would be 
preferred.

RGDS
GARY

On Wed, 21 Jun 2000, Paul Heinlein wrote:

> On Wed, 21 Jun 2000, Paul Heinlein wrote:
> 
> > 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
> > ...
> 
> Oops. I was thinking in a parallel universe and included Damien's
> stuff with the config files. His spec file does the right thing with
> host keys, too:
> 
> if [ ! -f /etc/ssh/ssh_host_key -o ! -s /etc/ssh/ssh_host_key ]
> then
>         /usr/bin/ssh-keygen -b 1024 -f /etc/ssh/ssh_host_key -N '' >&2
> fi
> if [ ! -f /etc/ssh/ssh_host_dsa_key -o ! -s /etc/ssh/ssh_host_dsa_key]
> then
>         /usr/bin/ssh-keygen -d -f /etc/ssh/ssh_host_dsa_key -N '' >&2
> fi
> 
> Sorry for the mailbloat.
> 
> Paul Heinlein
> heinlein at cse.ogi.edu
> 
> 
> 

---------------------------------------------------------------------------
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






More information about the openssh-unix-dev mailing list