Skip to content

Instantly share code, notes, and snippets.

@techgaun
Created February 5, 2017 04:44
Show Gist options
  • Select an option

  • Save techgaun/df66d37379df37838482c4c3470bc48e to your computer and use it in GitHub Desktop.

Select an option

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
@Henry-E

Henry-E commented Nov 1, 2017

Copy link
Copy Markdown

This worked where nothing else would, thanks

@techgaun

techgaun commented Nov 3, 2017

Copy link
Copy Markdown
Author

@Henry-E glad that it worked

@zmijunkie

Copy link
Copy Markdown

thank you - prevents me from polluting my laptop with repositories I do not want to have

@jdgregson

Copy link
Copy Markdown

Any advice on pulling the branch from GitHub and generating the configure script yourself? I'm not about to install source code hosted by random companies and call it secure.

The INSTALL file says to run autoreconf, but when I do, no configure script is created.

@SimonDeussen

Copy link
Copy Markdown

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

meetps commented Jun 15, 2018

Copy link
Copy Markdown

Godsend Amigo!

@c-amow

c-amow commented Nov 30, 2018

Copy link
Copy Markdown

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
Copy Markdown

I thank you very, very, very much

@igorsantos07

igorsantos07 commented Apr 7, 2020

Copy link
Copy Markdown

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

xyombo commented Sep 8, 2020

Copy link
Copy Markdown

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