You may follow the below steps to upgrade the OpenSSH on a Centos 5 server.

Download the OpenSSH source tarball from the vendor and unpack it. You can find the tarballs at

Copy the spec file and tarball:

Do a little magic:

Build your RPM:

Now if you go back into /usr/src/redhat/RPMS/<arch> , you should see three RPMs. Go ahead and install them:

To verify the installed version, just type ‘ssh -v localhost’ and you should see the banner come up, indicating the new version.

If you face any issues while trying to update OpenSSH, feel free to open a ticket to Veeble.