Date: Mon, 10 Dec 2001 18:49:10 -0500 From: Hug Me <hugme@hugme.org> To: freebsd-isp@freebsd.org Subject: Re: updating SSH version Message-ID: <20011210184910.I42304@pitr.tuxinternet.com> In-Reply-To: <D400AE72-EDB3-11D5-99CA-003065BDB7AC@mail.su.ualberta.ca>; from colin.harford@mail.su.ualberta.ca on Mon, Dec 10, 2001 at 02:21:08PM -0700 References: <D400AE72-EDB3-11D5-99CA-003065BDB7AC@mail.su.ualberta.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011210184910.I42304>
