您的位置:首页 > 运维架构

openssh升级过程

2015-08-28 13:40 302 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: