Centos7 升级openssh_8

2021/10/11 7:14:32

本文主要是介绍Centos7 升级openssh_8,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

openssh 官网站点:https://www.openssh.com
openssh linux 下载首页:https://www.openssh.com/portable.html
openssh cloudflare cdn加速下载:https://cloudflare.cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/
openssh HK下载:https://openbsd.hk/pub/OpenBSD/OpenSSH/portable/
# Centos7 默认版本ssh
[root@localhost ~]# ssh -V
OpenSSH_7.4p1, OpenSSL 1.0.2k-fips  26 Jan 2017
[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 7.8.2003 (Core)
# 备份配置
[root@localhost ~]# cp -r /etc/ssh/ /opt/ssh_bak
[root@localhost ~]# wget https://cloudflare.cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.0p1.tar.gz
[root@localhost ~]# ls
openssh-8.0p1.tar.gz
[root@localhost ~]# tar -xf openssh-8.0p1.tar.gz
[root@localhost ~]# cd openssh-8.0p1/
[root@localhost openssh-8.0p1]# ./configure
[root@localhost openssh-8.0p1]# make && make install
[root@localhost openssh-8.0p1]# systemctl restart sshd
[root@localhost openssh-8.0p1]# ssh -V
OpenSSH_8.0p1, OpenSSL 1.0.2k-fips  26 Jan 2017

简书记录,美好生活



这篇关于Centos7 升级openssh_8的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!


扫一扫关注最新编程教程