Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 08 Mar 2002 11:59:35 -0800
From:      Michael Smith <mksmith@noanet.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: OpenSSH Upgrade - Confused
Message-ID:  <B8AE5827.4C1A%mksmith@noanet.net>
In-Reply-To: <a0510150db8aec4dde22d@[192.168.0.3]>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello Again:

I wonder if the port wasn't put together a bit too quickly without the
proper hooks for the directory structure normal to FreeBSD.  If you grab

ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-3.1p1.tar.gz

It compiles with no trouble, as long as you specify your directory structure
in the Configure.  I used:

./configure --with-pam --sysconfdir=/etc/ssh --prefix=/usr
make
make install
killall -HUP sshd

Mike

On 3/8/02 11:48 AM, "James A. Arnold" <JArnold@knightridder.com> espoused:

> At 1:23 PM -0600 3/8/02, Jay Austad wrote:
>> I'm having trouble with the version in the ports tree.  A make install
>> give me:
>> install -c -m 444 -o root -g wheel  Ssh.bin /usr/local/libdata/ssh
>> ===>   Generating temporary packing list
>>>>  Generating an RSA1 secret host key.
>> /usr/local/bin/ssh-keygen -N "" -f /usr/local/etc/ssh_host_key
>> You must specify a key type (-t).
>> Usage: ssh-keygen [options]
>> Options:
>>   -b bits     Number of bits in the key to create.
>> 
>> Stop in /usr/ports/security/openssh.
>> *** Error code 1
>> 
>> Stop in /usr/ports/security/openssh.
>> *** Error code 1
>> 
>> Stop in /usr/ports/security/openssh.
>> 
>> 
>> Also, the original ssh stuff is installed in /usr/(s)bin, instead of
>> /usr/local/(s)bin.  And a pkg_info -a doesn't show the original ssh
>> version, so I can't remove it with pkg_delete.  The man page for
>> ssh-keygen also does not list the values for the -t flag, so I don't
>> what to put in the Makefile for the openssh port to make it work.  I'm
>> using Freebsd 4.4.
>> 
>> Jay
> 
> 
> I'm getting the same thing on 2 boxes at work. The one box
> was a fresh install of 4.5R from CD then brought up to Stable two
> days ago.
> 
> My home boxed upgraded from the port this morning w/o a glitch.
> All boxes are running 4.5 stable.
> 
> Why would I have different results? Mark me as confused as well.
> Can anyone offer some insights? My understanding is that OpenSSH is
> part of the base system. How does that jive with the port?
> 

--
--------------------------------------------------------------------------
     _   __ ____   ___     _   __ ______ ______  |Michael K. Smith
    / | / // __ \ /   |   / | / // ____//_  __/  |Chief IP Engineer
   /  |/ // / / // /| |  /  |/ // __/    / /     |mksmith@noanet.net
  / /|  // /_/ // ___ | / /|  // /___   / /      |Cell: 206.579.8360
 /_/ |_/ \____//_/  |_|/_/ |_//_____/  /_/       |Land: 206.783.3364
                                                 |Fax: 866.422.4887
                                                 |Pager: 800.696.6021
--------------------------------------------------------------------------
PGP Key: 485A 7807 2DFD CAC7 8E5D  F348 4F19 89AC 0ED6 0B72
--------------------------------------------------------------------------



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B8AE5827.4C1A%mksmith>