Wednesday, January 24, 2024

Update Open SSH in ubuntu server

For updating open ssh on ubuntu please follow following steps:-


Go to writable directory to download open ssh. Please change open ssh version according to you want to download


sudo wget https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.0p1.tar.gz

sudo tar zxvf openssh-9.0p1.tar.gz

cd openssh-9.0p1 

sudo ./configure --prefix=/usr


// for resolving dependency that show when you run configiure command 

apt-get install build-essential

sudo apt-get install libssl-dev

sudo apt-get install libz-dev

// end resolving dependency



sudo make

sudo make install


ssh will install 


For checking ssh version


ssh -V


No comments:

Post a Comment