① centos7 怎样升级系统的openssl和openssh
升级版本为:openssh-6.6p1 举个例子,可以参考升级方法:1、加载本地源(方法不描述了)2、执行下列命令yum install bash -yyum install -y zlib zlib-devel openssl openssl-develtar -zxvf openssh-6.6p1.tar.gz -C /usr/local/src/cd /usr/local/src/openssh-6.6p1/cp /etc/init.d/sshd /etc/init.d/sshd.oldtar -cvf ssh.bak.tar /etc/sshyum install gcc -y3、卸载老版本rpm -qa|grep sshrpm -e openssh-server-5.3p1-81.el6.x86_64rpm -e openssh-clients-5.3p1-81.el6.x86_64 –nodepsrpm -qa|grep sshrpm -e openssh-askpass-5.3p1-81.el6.x86_64rpm -e openssh-5.3p1-81.el6.x86_64rpm -qa|grep ssh4、开始升级。/configure –prefix=/usr –sysconfdir=/etc/ssh –with-zlib –with-md5-passwordsmake && make installmv /etc/init.d/sshd.old /etc/init.d/sshdmkdir -p /var/empty/sshd/etc/etc/init.d/sshd restartchkconfig –add sshdchkconfig sshd onchkconfig –list|grep sshd5、查看是否升级成功ssh -VOpenSSH_6.6p1, OpenSSL 1.0.0-fips 29 Mar 2010以上就是linux系统下怎么升级OpenSSH的介绍了,升级成功了旧版本的一些问题和故障自然就能得到修复了。
② 今天给linux升级openssh,configure后遇到个问题,configure: error: *** libpam missing,怎么解决,急
centos 里面可以用yum 自动升级。1、先找一下:yum -qa libpam* 2、安装:yum -y install openssh