码迷,mamicode.com
首页 > 其他好文 > 详细

openssh安装教程

时间:2017-03-09 14:33:13      阅读:528      评论:0      收藏:0      [点我收藏+]

标签:openssl   最新版   镜像   configure   eve   教程   log   evo   openssh   

1.下载

官方网址:http://www.openssh.com/

在页面左侧选择操作系统进入,Linux对应页面为:http://www.openssh.com/portable.html

选择一个镜像站点进入下载,比如:https://mirrors.evowise.com/pub/OpenBSD/OpenSSH/portable/

拉到页面最底部,选择最新版本的openssh下载,如openssh-7.4p1.tar.gz

 

2.安装

tar -zxf  openssh-7.4p1.tar.gz   #如果提示非tar文件,可在windows下先解压成.tar文件
cd openssh-7.4p1
./configure                               #检测环境是否满足
make                                      #编译
make install                             #安装

 

3.可能出现的问题

1)configure: error: *** zlib.h missing – please install first or check config.log

 yum install -y zlib-devel

2)configure: error: *** OpenSSL headers missing – please install first or check config.log

yum install -y openssl-devel

 

openssh安装教程

标签:openssl   最新版   镜像   configure   eve   教程   log   evo   openssh   

原文地址:http://www.cnblogs.com/lsdb/p/6525476.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!