ProWebUK
09-17-2003, 11:21 AM
As with all howto guides i provide, i take no responsibility, any damages that may occur to your server are your own responsibility, if you are worried about running the upgrade i recommend you hire a server administrator :) .
latest open SSH exploit over the last 48 hours, more information regarding the exploit can be found here:
http://slashdot.org/articles/03/09/16/1327248.shtml?tid=126&tid=172
to upgrade:
login as admin
su - to root
# wget http://prowebuk.com/TEMP/DOWNLOADS/OpenSSH/openssh-3.7p1.tar.gz
BEFORE DOING ANY UPGRADES MAKE SURE YOU HAVE TELNET RUNNING, CONNECT AND KEEP A CONNECTION WHILST YOU PROCEED WITH THE UPGRADE.
for DirectAdmin you should be able to enable telnet by doing the following:
# pico -w /etc/xinetd.d/telnet
change the line 'disable = yes' to 'disable = no'
save the file and exit
# service xinetd restart
also make sure you have port 23 open in your firewall (if you have a firewall)
Ok, lets start proceed with the upgrade
# tar -zxvf openssh-3.7p1.tar.gz
# cd openssh-3.7p1
# ./configure --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc/ssh --with-md5-passwords
# make
# make install
# service sshd restart
alternatively to restart use:
# /sbin/service sshd restart
open a new SSH window and make sure you can successfully connect to SSH... if everything is ok you will be able to disable telnet:
# pico -w /etc/xinetd.d/telnet
change the line 'disable = no' to 'disable = yes'
save the file and exit
# service xinetd restart
If you have a firewall make sure you block port 23 to stop telnet being acessed.
Post if you have any problems :)
Chris
latest open SSH exploit over the last 48 hours, more information regarding the exploit can be found here:
http://slashdot.org/articles/03/09/16/1327248.shtml?tid=126&tid=172
to upgrade:
login as admin
su - to root
# wget http://prowebuk.com/TEMP/DOWNLOADS/OpenSSH/openssh-3.7p1.tar.gz
BEFORE DOING ANY UPGRADES MAKE SURE YOU HAVE TELNET RUNNING, CONNECT AND KEEP A CONNECTION WHILST YOU PROCEED WITH THE UPGRADE.
for DirectAdmin you should be able to enable telnet by doing the following:
# pico -w /etc/xinetd.d/telnet
change the line 'disable = yes' to 'disable = no'
save the file and exit
# service xinetd restart
also make sure you have port 23 open in your firewall (if you have a firewall)
Ok, lets start proceed with the upgrade
# tar -zxvf openssh-3.7p1.tar.gz
# cd openssh-3.7p1
# ./configure --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc/ssh --with-md5-passwords
# make
# make install
# service sshd restart
alternatively to restart use:
# /sbin/service sshd restart
open a new SSH window and make sure you can successfully connect to SSH... if everything is ok you will be able to disable telnet:
# pico -w /etc/xinetd.d/telnet
change the line 'disable = no' to 'disable = yes'
save the file and exit
# service xinetd restart
If you have a firewall make sure you block port 23 to stop telnet being acessed.
Post if you have any problems :)
Chris