From owner-freebsd-questions@FreeBSD.ORG Tue Sep 16 12:03:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 09A5216A4B3 for ; Tue, 16 Sep 2003 12:03:54 -0700 (PDT) Received: from dragoncrest.jasnetworks.net (dragoncrest.jasnetworks.net [65.194.254.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47BD243FDF for ; Tue, 16 Sep 2003 12:03:49 -0700 (PDT) (envelope-from dragoncrest@voyager.net) Received: from works.voyager.net (works.jasnetworks.net [192.168.0.2]) h8GE88Gb049482; Tue, 16 Sep 2003 14:08:09 GMT (envelope-from dragoncrest@voyager.net) Message-Id: <5.2.0.9.2.20030916143213.00a449c0@pop.voyager.net> X-Sender: dragoncrest@pop.voyager.net X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Tue, 16 Sep 2003 15:12:29 -0700 To: Johan Paul From: Dragoncrest In-Reply-To: <3F67392B.5010200@johanpaul.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-questions@freebsd.org Subject: Re: Upgrading sshd? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 19:03:54 -0000 What I had to do to make this work was build OpenSSH 3.6.1 by hand, install it which puts it in /usr/local/sbin/sshd then test it. I fired up the new one on port 2000 and tested it there. When I could prove that worked I killed the process running on port 22, copied sshd to sshd.3.5p1 (just in case something goes bad you still have the old version) then copied sshd from /usr/local/sbin/ to /usr/sbin/, restarted the sshd on port 22, then tested that. Once I was happy that all was working right I killed the one on port 2000 and I was all set. Seemed to work like a charm. Maybe a little overly cautious on my part, but since I was doing the upgrade via ssh I didn't feel like cutting myself off by accident then having to drive 30 miles into work to console in and fix the problem. Believe me, I've done it before. :) At 07:24 PM 9/16/03 +0300, you wrote: >Hi all, > >Refering to the latest sshd vurnability >(http://slashdot.org/articles/03/09/16/1327248.shtml?tid=126&tid=172) I >was thinking of upgradeing my sshd as well. So I cvsup'ed my system (FBSD >4.8) and there seems to be a updated file for sshd. But how do I upgrade >sshd safly since when I type 'pkg_info |grep ssh' it return no packages. I >guess sshd is included somehow by the default install (??) but how can I >now upgrade it? I was thinking of portupgrade, but it needs a package to >upgrade... > >Thanks! > > >-- >Johan Paul > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"