From owner-freebsd-isp Mon Dec 10 15:45:22 2001 Delivered-To: freebsd-isp@freebsd.org Received: from pitr.tuxinternet.com (pitr.tuxinternet.com [208.32.175.113]) by hub.freebsd.org (Postfix) with ESMTP id 73A3D37B416 for ; Mon, 10 Dec 2001 15:45:12 -0800 (PST) Received: (from hugme@localhost) by pitr.tuxinternet.com (8.11.0/8.11.0) id fBANnBc45471 for freebsd-isp@freebsd.org; Mon, 10 Dec 2001 18:49:11 -0500 (EST) (envelope-from hugme) Date: Mon, 10 Dec 2001 18:49:10 -0500 From: Hug Me To: freebsd-isp@freebsd.org Subject: Re: updating SSH version Message-ID: <20011210184910.I42304@pitr.tuxinternet.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.2.5i In-Reply-To: ; from colin.harford@mail.su.ualberta.ca on Mon, Dec 10, 2001 at 02:21:08PM -0700 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org OpenSSH is crap, it always has been I have been tring to get them to change it for a while but nobody listens to me. what I have done here is downloaded ssh 2.4.0 from ftp.ssh.com (I am still testing 3.1.0 and haven't completly approved it for my network yet) on just one computer, checked the pgp key, uncompressed it, went into the directory and did a make. I then dropped down a directory and recompressed it. I took this new tar.gz and put it on my own local ftp server. so when I do an install I can do it quickly and easily, even on a 386. (my file server is lodo) fetch ftp://lodo/pub/OSinfo/ssh.tar.gz tar xfvz ssh.tar.gz cd ssh-2.4.0 make install rm /usr/bin/ssh* rm /usr/bin/scp rm /usr/sbin/sshd change rc.conf to: ssh_enable="YES" ssh_program="/usr/local/sbin/sshd" #path_to_ssh? that does it... to do the upgrade you should go back into the SAME directory (ssh-2.4.9) and type "make uninstall" if that doesn't work you can just go and delete ssh manualy: cd /usr/local/bin rm ssh* rm scp* rm sftp* cd /usr/local/sbin rm ssh* then wipe out your man pages: cd /usr/local/man/man1 rm ssh* rm scp* rm sftp* cd ../man5 rm ssh* cd ../man8 rm ssh* after this do your install like normal, happy hunting!! On Mon, Dec 10, 2001 at 02:21:08PM -0700, Colin Harford wrote: > Okay, so I have a testing system running FreeBSD 4.4-Stable. > > It was running SSH version 2.9 that is included with 4.4-Stable, I > upgraded that to 3.0.2 > > What I did was this > 1) update ports tree > 2) install SSH 3.0.2 from ports > 3) in /etc/make.conf put : NO_OPENSSH=true > 4) in /etc/rc.conf put > sshd_enable="YES" > path_to_sshd="/usr/local/sbin/sshd" > 5) recompiled the sources and kernel and rebooted the machine > > When i type ssh -V as a normal user I get 2.9 but if I do it as root i > get 3.0.2. (the same goes if I do sshd -V) > > My question is this, what is the best way to upgrade the SSH version. > If it is how I did it, then why do I get different responses. > > > Colin Harford     > >                                        > Systems and Network Administrator      Apple Product > Professional > =================================      > Computer and Network Support          > University of Alberta Students' Union                   > http://www.su.ualberta.ca > Phone: (780) 492-4241   Fax:  (780) 492-4643 > > Suite 2-900, SUB: 8900-114 St, > University of Alberta, > Edmonton, Alberta, > T6G 2J7 > > Opinions expressed herein are solely the responsibility of > the author, it may not reflect the opinions of others or reality. > And the author wouldn't have it any other way. > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-isp" in the body of the message -- ************************************************* hugme hugme@hugme.org http://www.hugme.org http://www.atlantacon.org PGP Public key: http://www.hugme.org/mykey.pgp To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message