Last active
May 2, 2024 00:30
-
-
Save lorne-luo/12de4f98f85cae287b5350eeccd1d7b9 to your computer and use it in GitHub Desktop.
How to compile install Openssh-server v9.3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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