Skip to content

Instantly share code, notes, and snippets.

@lorne-luo
Last active May 2, 2024 00:30
Show Gist options
  • Save lorne-luo/12de4f98f85cae287b5350eeccd1d7b9 to your computer and use it in GitHub Desktop.
Save lorne-luo/12de4f98f85cae287b5350eeccd1d7b9 to your computer and use it in GitHub Desktop.
How to compile install Openssh-server v9.3
# install dependencies needed to build new openssh
sudo apt-get build-dep openssh openssh-server
# downloaad openssh-server v9.3
wget -c https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.3p2.tar.gz
tar -xzf openssh-9.3p2.tar.gz
cd openssh-9.3p2/
# compile
./configure --with-md5-passwords --with-pam --with-selinux
make
sudo make install
# verify version
ssh -V
nc [IP_ADDRESS] 22
ssh -V
dpkg -l openssh-client openssh-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment