openssh升级过程

ssh升级步骤
=================
安装zlib
=================
下载安装包
tar zxvf zlib-1.2.8.tar.gz
cd zlib-1.2.8
./configure --presix=/usr/local/zlib
make
make install


=======================
安装openssl
=======================
下载安装包
tar tar zxvf openssl-1.0.2d.tar.gz 
cd openssl*
 ./config --prefix=/usr --openssldir=/etc/ssl --libdir=lib shared no-zlib
make 
make install


查看版本号 openssl version


======================
安装ssh
======================
下载安装包
tar zxvf openssh-*
cd openssh*
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-md5-passwords --with-privsep-path=/var/lib/sshd --with-zlib=/usr/local/zlib/


make
make install
查看openssh版本号,验证安装结果
ssh -V




========================
启动ssh服务
========================
/sbin/service sshd start
查看ssh服务
ssh -d



















posted @ 2015-08-28 13:40  retacn_yue  阅读(167)  评论(0编辑  收藏  举报