OpenSSH and Redhat 8

Jason McCormick jason at devrandom.org
Thu Oct 30 05:53:58 EST 2003


John,

  The following steps should work for you (or anyone buildling on a 
RedHat box):

1) Get the official OpenSSH source RPM from 
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/rpm/SRPMS/openssh-3.7.1p2-1.src.rpm

2) Do 'rpmbuild --rebuild ./openssh-3.7.1p2-1.src.rpm' from where you 
saved the file.

3) This should create the following files in /usr/src/redhat/RPMS/i386:
	openssh-server-3.7.1p2-1.i386.rpm
	openssh-clients-3.7.1p2-1.i386.rpm
	openssh-askpass-gnome-3.7.1p2-1.i386.rpm
	openssh-askpass-3.7.1p2-1.i386.rpm
	openssh-3.7.1p2-1.i386.rpm

4) Invoke 'rpm -Uvh openssh-*.rpm' to install them.

5) Assuming you're using a standard RedHat setup, make sure you edit 
/etc/ssh/sshd_config to change 'UsePAM' to yes so OpenSSH will look at 
PAM for user authentication.  Note this is a change in behavior from 
previous OpenSSH installs where PAM was enabled by default.

6) Restart - '/etc/init.d/openssh restart'

That should be all you need with Redhat 8.0.  Let me know if you run 
into more problems.  I've CCed this to the mailing list for future 
reference for all.

-- 
Jason McCormick
jason at devrandom.org
GPG Key: http://www.devrandom.org/gpgkey.php
GPG Fingerprint: 66C5 2B15 3E34 2B5E 5321 6147 303A DCE6 0A74 A19C




More information about the openssh-unix-dev mailing list