Openssh+Openssl更新步骤
一、关闭并卸载自带的Openssh
1.0 开启Telnet远程管理
# vi /etc/xinetd.d/telnet
# default: on
# description: The telnet server serves telnet sessions; it uses \
# unencrypted username/password pairs for authentication.
service telnet
{
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.telnetd
log_on_failure += USERID
disable = no
}
#/# /etc/init.d/xinetd restart 开启Telnet远程管理
# netstat -tnlp | grep :23
注意;以普通用户登录 后切换root
1.1 停止SSHD服务
#/sbin/service sshd stop
cp /etc/init.d/sshd /root/ 备份复制启动脚本
1.2 卸载Openssh
#rpm -e openssh --nodeps
#rpm -e openssh-server --nodeps
#rpm -e openssh-clients --nodeps
#rpm -e openssh-askpass-gnome
#rpm -e