wget http://zlib.net/zlib-1.2.11.tar.gz
tar xf zlib-1.2.11.tar.gz && cd zlib-1.2.11/
./configure && make && make install
===========================================================
cp /etc/init.d/ssh /etc/init.d/ssh.old && cp -r /etc/ssh /etc/ssh.old
wget https://fastly.cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.2p1.tar.gz
tar -xzvf openssh-8.2p1.tar.gz && cd openssh-8.2p1/
apt-get update
apt-get install libpam0g-dev
./configure --prefix=/usr --sysconfdir=/etc/ssh --with-md5-passwords --with-pam --with-zlib --with-privsep-path=/var/lib/sshd
make && make install
apt install openssl libssl-dev -y
==========================================
注 中間有提示缺少相關的軟件 按提示按裝便可