赞
踩
本站以分享各种运维经验和运维所需要的技能为主
《python零基础入门》:python零基础入门学习
《python运维脚本》: python运维脚本实践
《shell》:shell学习
《terraform》持续更新中:terraform_Aws学习零基础入门到最佳实战
《k8》暂未更新
《docker学习》暂未更新
《ceph学习》ceph日常问题解决分享
《日志收集》ELK+各种中间件
《运维日常》运维日常
《linux》运维面试100问
OpenSSH远程代码执行漏洞 (CVE-2024-6387) 安全风险通告 - 安全内参 | 决策者的网络安全知识库
检查ssh的版本:
- sudo apt update
- sudo apt install build-essential zlib1g-dev libssl-dev autoconf -y
- sudo apt install libpam0g-dev libselinux1-dev libkrb5-dev -y
- mkdir /opt/sshd/
- cd /opt/sshd/
- wget https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.8p1.tar.gz
- tar -xf openssh-9.8p1.tar.gz
- cd openssh-9.8p1
- sudo autoreconf
- sudo ./configure --with-kerberos5 --with-md5-passwords --with-pam --with-selinux --with-privsep-path=/opt/sshd/ --sysconfdir=/etc/ssh
- sudo make
- sudo make install
-
- sudo systemctl restart ssh
- sudo systemctl status ssh
#重新进入终端
root@VM-ubuntu:~# ssh -V
OpenSSH_9.8p1, OpenSSL 3.0.2 15 Mar 2022
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。