How to upgrade OpenSSH in Centos ?

How to upgrade OpenSSH in Centos ? 

1. First you need to install few dependencies, like development tools or build essentials and the other required packages : 

root@localhost:~ yum groupinstall "Development Tools"

root@localhost:~ yum install zlib-devel openssl-devel

 2 .   Download the OpenSSH version 8.0 

root@localhost:~ wget -c https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-8.0p1.tar.gz

root@localhost:~ tar -xzf openssh-8.0p1.tar.gz

root@localhost:~ cd openssh-8.0p1/

  3 Install PAM and SELinux Headers

root@localhost:~ yum install pam-devel libselinux-devel

 4.  Compile and install SSH from sources.

root@localhost:~ ./configure --with-md5-passwords --with-pam --with-selinux --with-privsep-path=/var/lib/sshd/ --sysconfdir=/etc/ssh

root@localhost:~ make

root@localhost:~ make install

 5.  Once you have installed OpenSSH, restart SSH and check the version of OpenSSH

root@localhost:~ ssh -V

 

OpenSSH_8.0p1, OpenSSL 1.1.0g

 

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    What is ezeelogin?
    Viewed 1486 times since Mon, Aug 21, 2017
    How to migrate the custom server fields from Ezeelogin version 7.0 to the latest version?
    Viewed 107 times since Thu, Jul 16, 2020
    Is it a hosted solution?
    Viewed 1506 times since Mon, Aug 21, 2017
    How to convert the ppk files to openssh format
    Viewed 7469 times since Fri, Aug 3, 2018
    Will i be locked out if i loose connectivity to the license server or if the Ezeelogin license servers goes down?
    Viewed 2516 times since Mon, Aug 21, 2017
    Why is ezeelogin the most secure gateway?
    Viewed 1580 times since Mon, Aug 21, 2017
    Where do i view the changelog | Release notes for Ezeelogin jump server ?
    Viewed 2143 times since Wed, Jun 14, 2017
    Trial License Vs Paid License
    Viewed 2525 times since Wed, Jun 14, 2017
    Is the software upgrade seamless from free to paid? Do i have to reinstall?
    Viewed 1432 times since Mon, Aug 21, 2017
    Why is Ezeelogin the most secure ssh gateway?
    Viewed 2461 times since Thu, Jun 15, 2017