No subject
Sun Jun 2 12:36:39 EDT 2013
Install the latest version of ssl
- ./config
- make
- make test
- make install
Install the latest version of ssh
-
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-pam --with-ssl-dir=/u
sr/local/ssl
- make
- make install
The default place for the ssl libraries in the install above was:
/usr/local/ssl
Next I had to generate the Keys again:
- RSA_KEY=/etc/ssh/ssh_host_key
- DSA_KEY=/etc/ssh/ssh_host_dsa_key
- /usr/bin/ssh-keygen -t rsa -b 1024 -f $RSA_KEY -C '' -N ''
- /usr/bin/ssh-keygen -t dsa -d -b 1024 -f $DSA_KEY -C '' -N ''
Now edit /etc/ssh/sshd_config
Be sure that root cannot login via ssh
Make sure that you disable protocol 1
Best of luck! Jon Carnes
----- Original Message -----
From: "JoJo Almario" <jalmario at intrah.org>
To: <trilug at trilug.org>
Sent: Thursday, March 21, 2002 9:39 AM
Subject: [TriLUG] ssh install
> Alright I screwed up again. I needed to install a newer version os ssh on
> one of my servers running redhat 7.0 (I know...evil release). here are
the
> steps i took.
>
> 1.rpm -qa | grep openssh to see what version i was running.
>
> 2. rpm -e --no depsssh*
>
> it gave me an error message that /usr/libexec/ssh folder was not empty so
I
> emptied it.
>
> 3. ran rpm -e openssh* again seemed to do fine.
>
> 4. grabbed the tar.gz file for the latest ssh and confgiured make, and
make
> install on it. seemed to do fine. The sshd was no where to be found. i
> found an sshd.init and put that in /etc/rc.d/init.d/ then did a
> chkconfig --level 345 sshd.init on, and that seemed to be fine. tried to
do
> an /etc/rc.d/init.d/sshd.init start and a /etc/rc.d/init.d/sshd start
> neither of which worked.
>
> Is there anywhere I missed looking for the sshd?
> Would the rpm work better?
> If so which ones should I grab?
>
> TIA
> JoJo
>
> _______________________________________________
> TriLUG mailing list
> http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ:
> http://www.trilug.org/~lovelace/faq/TriLUG-faq.html
More information about the TriLUG
mailing list