Tonight I tried (briefly) to convert to openssh from ssh2, and I ran into trouble. Maybe someone has an idea. The two machines in question are at RedHat 6.1 and RedHat 7.0. I built ssh2 (version 2.4.0) on each machine, and the install went smoothly on both sides. I have been happy with it. Then a friend suggested openssh. So I thought I'd try to convert. Since I could not find a ready-build openssl and openssh rpm for 6.1, I build openssh 2.9p1 and openssl 0l.6.6a. On my 7.0 box, I used the rpm's from the distro. I deinstalled the ssh2 code using "make install". I did not try to remove any other files, but I did stop all ssh2 processes. The install of the openssh code went just fine. I could log into my 7.0 box from my 6.1 box (I can't go the other way due to a company firewall), but the port mapping did not work. (I used the "-R 19999:box1:23" to give me access back through the company firewall.) I'm wondering if I'm running into basic code problems, or is it likely that the ssh2 installation needs some careful manual cleanup prior to decommission it. I'm back running ssh2, but I'd like to stick with open source, if possible. Suggestions? Thanks, Bill
On Mon, 4 Jun 2001, Bill Mills-Curran wrote: subssn> Since I could not find a ready-build openssl and openssh subssn> rpm for 6.1, I build openssh 2.9p1 and openssl 0l.6.6a. subssn> On my 7.0 box, I used the rpm's from the distro. You can take the SRPM from Red Hat 7.0 and rebuild it on 6.x like so: rpm --rebuild --define 'build_6x 1' openssh-2.5.2p2-1.7.2.src.rpm (You need to have installed at least openssl and openssl-devel for this to work. These come with Red Hat 6.2. I would recommend installing all the 6.2 updates on your 6.1 system before doing this.) If you want 2.9p1 (for 6.x or 7.x) I have made packages available (but these are not completely tested yet. I do know of problems on Alpha at least. Use at your own risk). I would not use the 2.9p1 src.rpm distributed by the OpenSSH portability team, since it does not contain all the necessary things for it to work correctly on Red Hat (for instance, correct PAM files.): ftp://angus.ind.wpi.edu/pub/cra-contrib/redhat6/SRPMS/openssh-2.9p1-0.6x.src.rpm subssn> I'm wondering if I'm running into basic code problems, or subssn> is it likely that the ssh2 installation needs some careful subssn> manual cleanup prior to decommission it. OpenSSH uses fairly different config files that are reminiscent of the old ssh 1.2 from which it was derived. A clean RPM install should handle these sorts of issues for you assuming you pay attention to any files that are installed as *.rpmnew and rename/merge them with the old files. subssn> I'm back running ssh2, but I'd like to stick with open subssn> source, if possible. Suggestions? For now, I would recommend staying with the Red Hat-packaged openssh-2.5.2p2-1.7.2 from RH 7.0, rebuilding it on 6.2, and installing that. This set up should be the most stable configuration available for Red Hat. Other than that, the only other thing I can recommend is either upgrading to Red Hat 6.2 or at least installing all of the 6.1 updates followed by the 6.2 updates. (Red Hat only supports/releases updates for the latest minor release within a major release). Charles R. Anderson <cra@wpi.edu> / http://angus.ind.wpi.edu/~cra/ PGP Key ID: 49BB5886 Fingerprint: EBA3 A106 7C93 FA07 8E15 3AC2 C367 A0F9 49BB 5886
On Mon, Jun 04, 2001 at 11:45:46PM -0400, Bill Mills-Curran wrote:
Since I could not find a ready-build openssl and openssh rpm for 6.1, I build openssh 2.9p1 and openssl 0l.6.6a. On my 7.0 box, I used the rpm's from the distro.
I've been using packaged openssl and openssh on my 6.1 box for a while now:
rpm -qa | grep ^openss openssh-2.9p1-1 openssl-0.9.5a-14 openssh-clients-2.9p1-1 openssh-server-2.9p1-1 openssl-devel-0.9.5a-14 rpm -q redhat-release redhat-release-6.1-1
You can grab RPMs from: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/rpm/RH62 or ftp://ftp.kluge.net/pub/linux/RPMS -- Randomly Generated Tagline: "What kind of birth control do the Centauri use? Conversation." - J. Michael Straczynski
participants (3)
-
Bill Mills-Curran
-
Charles R. Anderson
-
Theo Van Dinter