sudo apt update
sudo apt install build-essential zlib1g-dev libssl-dev
sudo mkdir /var/lib/sshd
sudo chmod -R 700 /var/lib/sshd/
sudo chown -R root:sys /var/lib/sshd/
wget -c https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.9p1.tar.gz
tar -xzf openssh-8.9p1.tar.gz
cd openssh-8.9p1/
sudo apt install libpam0g-dev libselinux1-dev libkrb5-dev
./configure --with-kerberos5 --with-md5-passwords --with-pam --with-selinux --with-privsep-path=/var/lib/sshd/ --sysconfdir=/etc/ssh
make
sudo make install
Created
July 3, 2022 18:34
-
-
Save reanim8ed/1e76875dae00a57a7d5616636ba39f31 to your computer and use it in GitHub Desktop.
[Upgrade openssh-server OpenSSH_7.6p1, to OpenSSH_8.0p1?] #ubuntu #linux #openssh #linux
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment