From owner-freebsd-questions@freebsd.org Wed Apr 19 10:09:21 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 484AAD450C1 for ; Wed, 19 Apr 2017 10:09:21 +0000 (UTC) (envelope-from herbert@mailbox.org) Received: from mx1.mailbox.org (mx1.mailbox.org [80.241.60.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.mailbox.org", Issuer "SwissSign Server Silver CA 2014 - G22" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0C0921D16 for ; Wed, 19 Apr 2017 10:09:20 +0000 (UTC) (envelope-from herbert@mailbox.org) Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id D0FA345DB8 for ; Wed, 19 Apr 2017 12:09:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-type:content-type:mime-version:references:in-reply-to :subject:subject:from:from:message-id:date:date:received; s= mail20150812; t=1492596542; bh=G8Jz4tRVsS/AOF7DmIwUF8jByWmhvT37G MRJMsN6Q2Q=; b=j/Q99gSEMZlFZ3MaHS7bNyM9wlDpy3kHMZqKCGW6OqpW/vE/7 fNYTyxPHkO1DbSH8KiYPfc6b5ySGrvAMQbblop+mrpW6W5MRHzN+vHfav2GAngPj Iixa7fYU6x/gKPrB07/I86rDtnReQsXWSnAtQVH4qfBN/1qHwY5eyViXOEpPED4B Wnad+7QVXCrYQMqFGXCsICRDGOWZJQi1ITzSoCJo8LNDmtKRSqSQ/gb8Re9g4QPW MY2CnTGet/AnB0SRnF7MvwVJAtS1Q7+1M9Gy7Lx8NgHDjyUpfJANsv2/gl2qFNGX LNunXPUKu7gUCufcObAxNaJT3w0ACmGqSclGQ== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter03.heinlein-hosting.de (spamfilter03.heinlein-hosting.de [80.241.56.117]) (amavisd-new, port 10030) with ESMTP id 0Y1afs_tvisv for ; Wed, 19 Apr 2017 12:09:02 +0200 (CEST) Date: Wed, 19 Apr 2017 12:09:07 +0200 Message-ID: <86mvbcemkc.wl-herbert@mailbox.org> From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org Subject: Re: openssh-portable under 10.3-RELEASE In-Reply-To: References: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Apr 2017 10:09:21 -0000 Eduardo Lemos de Sa skrev: > > Dear > I tried to upgrade openssh-version from 7.4p1 to the newst 7.5p1. First, I > used the same usual procedure: > > 1) downloade 7.5p1 from openssh.com > 2) tar -zxvf openssh.tar.gz file > 3) cd openssh-7.5p1 directory > 4) ./configure (I edited Makefile to change default dir to /usr instead > /usr/local and sshdirconfig to /etc/ssh instead {something}/etc, as I > always did in another versions) Why do you edit Makefile? There is --prefix and --sysconfdir. Check ./configure --help for more options. Don't install to /usr. > 5) gmake clean && gmake (no error or problems) > 6) But, when I did sudo gmake install I got a error : segmentation fault > (core dump at line 372) Show more lines of the error! > Ok, I do not how to solve this problem, thus I solved to install > /usr/ports/security/openssh-portable (I checked, this is the 7.5 version). > I installed it with no problems: > > ssh -V showed me 7.5 version > > but, sshd -V gave back 7.4 version !! (the old version that I got compile). gmake install didn't complete. Obviously only ssh was overwritten with the new version: # ls -l `which ssh` # ls -l `which sshd` The port installs openssh to /usr/local. > I tried to install openssh-portable in another 10.3-RELEASE and got the > same result. > > Please, could someone point where I am wrong or point to me how to compile > (without using port facilities) openssh-7.5p1? What's wrong with the port? Either change your PATH, set an alias for ssh or run /usr/local/bin/ssh. To activate the sshd from ports replace sshd_enable="YES" with openssh_enable="YES" and start/stop the service. -- Herbert