Blogger Information
Blog 11
fans 0
comment 0
visits 16619
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
openssh-7.6p1源码安装
提百万的博客
Original
1850 people have browsed it

一、安装环境:

                 系统 :centos 6.7   

                 软件 :openssh-7.6p1 

                 安装前安装的依赖软件:

                  yum install -y  openssl-devel  zlib-devel gcc

二、安装过程

           一 . 下载软件包及地址: https://fastly.cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/

                 选择openssh-7.6p1版本或最新版本

            二. 解压安装软件

                 (1 ):tar -zxvf  openssh-7.6p1.tar.gz

                 (2):cd openssh-7.6p1

                 (3):./configure --prefix=/usr/local  --sysconfdir=/etc/ssh 

                 (4):make && make install

                 (5):在openssh-7.6p1目录下 :cp  contrib/redhat/sshd.init    /etc/init.d/sshd


三、更改配置 

                 (1):打开/etc/init.d/sshd更该路径配置

7924188-41c94aa94927763a.png

五、运行程序

                  service  sshd start

                  基本就完成openssh的安装了


六、提示

                 (一):可以先卸载yum安装的旧版本openssh,也可保留

                 (二):root用户远程连接被拒绝  :在/etc/ssh/sshd_config下配置允许root账户登录

7924188-41c94aa94927763a.png





                                                                                                                                                作者:我是你认识的提百万


Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!