針對openssh版本漏洞,ubuntu系統(tǒng)下升級到指定版本
-
下載openssh相應(yīng)版本
https://www.openssh.com/portable.html#downloads
找到指定http鏡像地址,下載下圖指定版本的tar.gz的包
image.png 解壓縮包
tar zxvf openssh-9.8p1.tar.gz
- 執(zhí)行編譯安裝
cd openssh-9.8p1
./configure
make
sudo make install
sudo systemctl restart ssh
- 重新連接ssh檢測當前版本
ssh -V
sshd -V
