栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

CentOS6升级OpenSSH 8.8p1

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

CentOS6升级OpenSSH 8.8p1

CentOS6升级OpenSSH 8.8p1跟CentOS7上升级方法类似。

测试环境是SSH版本8.7p1。

用root用户给/etc/ssh/sshd_config添加如下:

Ciphers aes128-ctr,aes192-ctr,aes256-ctr
KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,curve25519-sha256@libssh.org
保存,然后备份该文件(这步在升级OpenSSH8.7已经做过,这里强调一次。是从系统的默认版本升级,那么请一定先修改好)。本测试是在/root下创建etc目录保存备份。

确认sellinux已经关闭。

从官网下载安装包,并解包。

编辑脚本如下:

#!/bin/bash

/etc/init.d/sshd stop
cd openssh-8.8p1
cp contrib/redhat/sshd.init /etc/init.d/sshd
chmod +x /etc/init.d/sshd
#cd openssh-8.8p1

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/641985.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号