Skip to content

Instantly share code, notes, and snippets.

@techgaun
Created February 5, 2017 04:44
Show Gist options
  • Save techgaun/df66d37379df37838482c4c3470bc48e to your computer and use it in GitHub Desktop.
Save techgaun/df66d37379df37838482c4c3470bc48e to your computer and use it in GitHub Desktop.
OpenSSH 7.4 on Ubuntu 16.04

Installing OpenSSH 7.4 on Ubuntu 16.04

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
@SimonDeussen
Copy link

You can also get the download link from openssh.com - but the checksum from this download is fine. After downloading these are the exact intructions to install it on your system. This way i updated from 7.2 to 7.7.

@meetps
Copy link

meetps commented Jun 15, 2018

Godsend Amigo!

@c-amow
Copy link

c-amow commented Nov 30, 2018

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)

@echizen0312
Copy link

I thank you very, very, very much

@igorsantos07
Copy link

igorsantos07 commented Apr 7, 2020

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.

@xyombo
Copy link

xyombo commented Sep 8, 2020

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