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
#!/bin/bash | |
echo "Installing deps..." | |
sudo apt-get install libssl-dev zlib1g-dev libpam0g-dev xz-utils | |
sudo apt-get remove openssh-server | |
echo "Downloading and extracting sources..." | |
wget http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.6p1.tar.gz | |
wget http://www.linuxfromscratch.org/patches/downloads/openssh/openssh-7.6p1-openssl-1.1.0-1.patch | |
tar -xf openssh-7.6p1.tar.gz |
OlderNewer