openssh升级

cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak
cp /etc/pam.d/sshd /etc/pam.d/sshd.bak
systemctl status sshd
systemctl stop sshd
cd /usr/src/test/
apt-get remove openssh-server
cd openssh-9.7p1/
./configure --prefix=/usr --sysconfdir=/etc/ssh
make 
make install 
ssh -V
posted @ 2024-03-27 15:58  没脚的丛林鸟  阅读(24)  评论(0编辑  收藏  举报