#!/bin/bash
sudo apt-get install build-essential
apt-get install libpam0g-dev
apt install libssl-dev
echo "#################### start ######################"
tar -xf zlib-1.3.tar.gz
cd zlib-1.3
./configure --prefix=/usr/local/zlib
make&&make install
echo "#################### verify ######################"
cd ..
cp /etc/init.d/ssh /etc/init.d/ssh.old
cp -r /etc/ssh /etc/ssh.old
tar xf openssh-9.5p1.tar.gz
cd openssh-9.5p1
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-md5-passwords --with-pam --with-zlib --with-privsep-path=/var/lib/sshd
make && make install
echo "#################### end ######################"
cd ..
ssh -V
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
openssh_update_ubuntu.zip (3个子文件)
openssh-9.5p1.tar.gz 1.76MB
openssh_update.sh 2KB
zlib-1.3.tar.gz 1.43MB
共 3 条
- 1
资源评论
光阴使者
- 粉丝: 6
- 资源: 72
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功