Last active
February 6, 2019 13:53
-
-
Save omerbn/51e69b47ab369129586c143c973b4520 to your computer and use it in GitHub Desktop.
Ubuntu 16.04 upgrade openSSH to 1.7.7
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
sudo apt install -y build-essential libssl-dev zlib1g-dev | |
wget "http://mirrors.edge.kernel.org/ubuntu/pool/main/o/openssh/openssh_7.7p1.orig.tar.gz" | |
tar xfz openssh_7.7p1.orig.tar.gz | |
cd openssh-7.7p1 | |
./configure | |
make | |
sudo make install | |
##### | |
# if got: 'Privilege separation user sshd does not exist' | |
### Add this line into /etc/passwd, | |
### sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin | |
### Add this line into /etc/group | |
### sshd:*:27: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment