Skip to content

Instantly share code, notes, and snippets.

@omerbn
Last active February 6, 2019 13:53
Show Gist options
  • Save omerbn/51e69b47ab369129586c143c973b4520 to your computer and use it in GitHub Desktop.
Save omerbn/51e69b47ab369129586c143c973b4520 to your computer and use it in GitHub Desktop.
Ubuntu 16.04 upgrade openSSH to 1.7.7
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