[lug] sshd and RH7.0 (aka KRUD)

D. Stimits stimits at idcomm.com
Tue May 15 03:09:01 MDT 2001


"Michael J. Hammel" wrote:
> 
> I've got a test system running KRUD w/RH7.0 upon which I installed Ximian's
> GNOME.  I then used Red Carpet to install all the updates I could find
> (which worked rather well, as far as I can tell).  Unfortunately, I can't
> find an sshd package that will work with this installation.  I tried
> grabbing the one that Red Carpet points me to but it says I have an OpenSSL
> mismatch with that package.  I tried rebuild the openssh package from
> source, but it didn't build the daemon for some reason.
> 
> All I really want is my rlogin to work again.  I have it working on all my
> RH6.2 boxes but I can't seem to get it running on this box.  Either ssh or
> rlogin would be fine.
> 
> Clues?
> --
> Michael J. Hammel           |
> The Graphics Muse           |    Why are a wise man and a wise guy opposites?
> mjhammel at graphics-muse.org  |
> http://www.graphics-muse.com

If you can't get what you want from an rpm (meaning if for some reason
you just can't get it to work easily), then here's some info to make
tarball life easier...

For a RH style system, basically you just need a few things to get
going. One, use the "portable" code, which is labelled with a "p", for
example, openssh-2.5.2p2. Second, though you can switch things over to
use different directories, this is the version that matches the RH
rpm's:
./configure \
   --prefix=/usr \
   --sysconfdir=/etc/ssh \
   --with-tcp-wrappers \
   --with-pam \
   --with-ipv4-default \
   --with-xauth=/usr/X11R6/bin/xauth \
   --with-libs=-lcrypt \
   --with-md5-passwords

That config is typical.

Then you must be sure that there is a pam module in /etc/pam.d/ called
"sshd". If you don't have it, then the compile subdirectory "contrib/"
or "contrib/redhat/" will have one. I'm not sure what all of the
differences are, but I believe for RH 7 you'd use the
contrib/redhat/sshd.pam-7x, and rename it to "sshd" and put it in
/etc/pam.d/. You'll probably still have to edit /etc/ssh/ssh_config and
/etc/ssh/sshd_config, since there are a few things that have changed
between old and new releases. The openssh web page gives info once
you're that far.



More information about the LUG mailing list