### centos7系列openssh8.5p1升级包
### 2021-03-10
### version:1.0安全加固版本--默认禁止ROOT直接登录版本
###此版本注意事项必须存在一个普通账号,由普通账号登录终端su - root切换至root!!
###升级步骤
# openssl建议升级至最新版本,也可以不升级
[root@localhost ~]# rpm -Uvh openssl-1.0.2k-19.el7.x86_64.rpm openssl-libs-1.0.2k-19.el7.x86_64.rpm openssl-devel-1.0.2k-19.el7.x86_64.rpm
warning: openssl-1.0.2k-19.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID f4a80eb5: NOKEY
Preparing... ################################# [100%]
Updating / installing...
1:openssl-libs-1:1.0.2k-19.el7 ################################# [ 17%]
2:openssl-1:1.0.2k-19.el7 ################################# [ 33%]
3:openssl-devel-1:1.0.2k-19.el7 ################################# [ 50%]
Cleaning up / removing...
4:openssl-devel-1:1.0.1e-42.el7_1.9################################# [ 67%]
5:openssl-1:1.0.1e-42.el7_1.9 ################################# [ 83%]
6:openssl-libs-1:1.0.1e-42.el7_1.9 ################################# [100%]
# 升级openssh
[root@localhost ~]# rpm -Uvh openssh-8.5p1-1.el7.x86_64.rpm openssh-clients-8.5p1-1.el7.x86_64.rpm openssh-server-8.5p1-1.el7.x86_64.rpm
Preparing... ################################# [100%]
Updating / installing...
1:openssh-8.5p1-1.el7 ################################# [ 17%]
2:openssh-clients-8.5p1-1.el7 ################################# [ 33%]
3:openssh-server-8.5p1-1.el7 ################################# [ 50%]
Cleaning up / removing...
4:openssh-server-7.4p1-21.el7 ################################# [ 67%]
5:openssh-clients-7.4p1-21.el7 ################################# [ 83%]
6:openssh-7.4p1-21.el7 ################################# [100%]
[root@localhost ~]# sshd -v
unknown option -- v
OpenSSH_8.5p1, OpenSSL 1.0.1e-fips 11 Feb 2013
usage: sshd [-46DdeiqTt] [-C connection_spec] [-c host_cert_file]
[-E log_file] [-f config_file] [-g login_grace_time]
[-h host_key_file] [-o option] [-p port] [-u len]
### 异常处理:
1.CRT7.0.0由于sshd升级弱算法将不采用
Key exchange failed.
No compatible key exchange method. The server supports these methods: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256
No compatible hostkey. The server supports these methods: ssh-ed25519
增加配置
cat >>/etc/ssh/sshd_config <<-EOF
KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256
EOF
systemctl restart sshd
没有合适的资源?快使用搜索试试~ 我知道了~
openssh8.5p1离线升级文件.rar
共20个文件
rpm:18个
txt:2个
需积分: 9 30 下载量 26 浏览量
2021-03-12
14:13:17
上传
评论 1
收藏 15MB RAR 举报
温馨提示
openssh8.5p1.tar--[ centos7 ]
资源详情
资源评论
资源推荐
收起资源包目录
openssh8.5p1离线升级文件.rar (20个子文件)
openssh8.5p1离线升级文件
Centos7
ROOT用户登录版本
openssh-8.5p1-1.el7.x86_64.rpm 596KB
openssh-debuginfo-8.5p1-1.el7.x86_64.rpm 2.97MB
openssh-askpass-gnome-8.5p1-1.el7.x86_64.rpm 25KB
openssh-askpass-8.5p1-1.el7.x86_64.rpm 43KB
openssh-server-8.5p1-1.el7.x86_64.rpm 450KB
openssh-clients-8.5p1-1.el7.x86_64.rpm 617KB
openssl-libs-1.0.2k-19.el7.x86_64.rpm 1.2MB
readme.txt 3KB
openssl-devel-1.0.2k-19.el7.x86_64.rpm 1.51MB
openssl-1.0.2k-19.el7.x86_64.rpm 493KB
禁止ROOT用户登录版本
openssh-8.5p1-1.el7.x86_64.rpm 596KB
openssh-debuginfo-8.5p1-1.el7.x86_64.rpm 2.97MB
openssh-askpass-gnome-8.5p1-1.el7.x86_64.rpm 25KB
openssh-askpass-8.5p1-1.el7.x86_64.rpm 43KB
openssh-server-8.5p1-1.el7.x86_64.rpm 450KB
openssh-clients-8.5p1-1.el7.x86_64.rpm 617KB
openssl-libs-1.0.2k-19.el7.x86_64.rpm 1.2MB
readme.txt 3KB
openssl-devel-1.0.2k-19.el7.x86_64.rpm 1.51MB
openssl-1.0.2k-19.el7.x86_64.rpm 493KB
共 20 条
- 1
qq_30578617
- 粉丝: 0
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0