Skip to content

Instantly share code, notes, and snippets.

@stefansundin
Last active September 13, 2022 21:03
Show Gist options
  • Save stefansundin/0fd6e9de172041817d0b8a75f1ede677 to your computer and use it in GitHub Desktop.
Save stefansundin/0fd6e9de172041817d0b8a75f1ede677 to your computer and use it in GitHub Desktop.
Install OpenSSH 7.3 in Ubuntu 16.04
# WARNING: Use this at your own risk. It will probably break your other packages and cause other havoc.
# These days you should just upgrade to Ubuntu 18.04.
$ ssh -V
OpenSSH_7.2p2 Ubuntu-4ubuntu2.1, OpenSSL 1.0.2g 1 Mar 2016
wget https://launchpadlibrarian.net/277739251/openssh-client_7.3p1-1_amd64.deb
wget https://launchpadlibrarian.net/298453050/libgssapi-krb5-2_1.14.3+dfsg-2ubuntu1_amd64.deb
wget https://launchpadlibrarian.net/298453058/libkrb5-3_1.14.3+dfsg-2ubuntu1_amd64.deb
wget https://launchpadlibrarian.net/298453060/libkrb5support0_1.14.3+dfsg-2ubuntu1_amd64.deb
sudo dpkg -i libkrb5support0_1.14.3+dfsg-2ubuntu1_amd64.deb
sudo dpkg -i libkrb5-3_1.14.3+dfsg-2ubuntu1_amd64.deb
sudo dpkg -i libgssapi-krb5-2_1.14.3+dfsg-2ubuntu1_amd64.deb
sudo dpkg -i openssh-client_7.3p1-1_amd64.deb
$ ssh -V
OpenSSH_7.3p1 Ubuntu-1, OpenSSL 1.0.2g 1 Mar 2016
@nickhash
Copy link

nickhash commented Feb 7, 2020

why yould you break your installation if the whole point of having installed a distribution is to avoid custom installs. better build from sources and install under /usr/local/bin

@polo5
Copy link

polo5 commented Mar 24, 2020

This broke all the packages in apt and now I can't run krb5-user :( Somehow I can't manage to uninstall v7.4 and it exists simultaneously with 7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment