Created
          April 25, 2018 14:40 
        
      - 
      
- 
        Save LeeiFrankJaw/3cc026c1ddfcc0262ebe0d4a7b9fcd2f to your computer and use it in GitHub Desktop. 
    Install OpenSSH from source repo
  
        
  
    
      This file contains hidden or 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
    
  
  
    
  | 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