From owner-freebsd-questions Fri Mar 8 11:59:50 2002 Delivered-To: freebsd-questions@freebsd.org Received: from chimera.noanet.net (chimera.noanet.net [66.119.192.4]) by hub.freebsd.org (Postfix) with ESMTP id 6A19937B417 for ; Fri, 8 Mar 2002 11:59:37 -0800 (PST) Received: from [66.119.205.82] (mks-733.noanet.net [66.119.205.82]) by chimera.noanet.net (8.12.2/8.12.2) with ESMTP id g28JuvcX056590 for ; Fri, 8 Mar 2002 11:56:57 -0800 (PST) User-Agent: Microsoft-Entourage/10.0.0.1331 Date: Fri, 08 Mar 2002 11:59:35 -0800 Subject: Re: OpenSSH Upgrade - Confused From: Michael Smith To: FreeBSD Questions Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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" 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