sudo apt install -y build-essential libssl-dev zlib1g-dev
wget "http://mirrors.evowise.com/pub/OpenBSD/OpenSSH/portable/openssh-7.4p1.tar.gz"
tar xfz openssh-7.4p1.tar.gz
cd openssh-7.4p1
./configure
make
sudo make install
Created
February 5, 2017 04:44
-
-
Save techgaun/df66d37379df37838482c4c3470bc48e to your computer and use it in GitHub Desktop.
OpenSSH 7.4 on Ubuntu 16.04
I thank you very, very, very much
For reasons unknown to me, I had OpenSSL 1.1.1d on my machine, and it seems the first version to support that is 7.9. I used the openbsd mirror and it worked great after restarting the bash session and fixing ~/.ssh/config
permissions :)
Leaving this for Google searches: Just installed SSH 7.9 in an Ubuntu Xenial / Linux Mint Sarah.
the link has been 404.
the link is works for me
https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.4p1.tar.gz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome, thanks for the time saver! Seems so obvious after you see it :-)
I ended up having to use a mirror - e.g. https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/
and note that it may install to /usr/local/bin/ssh (causing confusion as you may still have a /usr/bin/ssh in your path and you will wonder why there was no upgrade)