Skip to content

Instantly share code, notes, and snippets.

@LeeiFrankJaw
Created April 25, 2018 14:40
Show Gist options
  • Save LeeiFrankJaw/3cc026c1ddfcc0262ebe0d4a7b9fcd2f to your computer and use it in GitHub Desktop.
Save LeeiFrankJaw/3cc026c1ddfcc0262ebe0d4a7b9fcd2f to your computer and use it in GitHub Desktop.
Install OpenSSH from source repo
git clone git://anongit.mindrot.org/openssh.git
cd openssh/
sudo apt build-dep openssh-client
git checkout V_7_7_P1
autoreconf
# Use the following command for clang compiler
# CC=clang LDFLAGS='-fuse-ld=lld -rtlib=compiler-rt' ./configure
./configure
make
# hack for solving "Privilege separation user sshd does not exist" error
# sudo apt install openssh-server
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment