Page 1 of 1

Ubuntu / Debian: Update SSH from source

Posted: 2024 Jul 06, 13:52
by Mihai
For Ubuntu/Debian:

Install dependencies:

Code: Select all

sudo apt install build-essential zlib1g-dev libssl-dev  -y
Download the SSH package:

Code: Select all

wget https://cloudflare.cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.8p1.tar.gz
Extract the package from archive:

Code: Select all

tar xzvf openssh-9.8p1.tar.gz
Call directory extracted:

Code: Select all

cd openssh-9.8p1
Compile and Install from source:

Code: Select all

./configure
make
makeĀ install
After install check the SSH version:

Code: Select all

ssh -V

Open SSH default Home Page - Link
Open SSH Releases for other systems - Link