Ssh – Upgrading openssh-server on XenServer 6.2

sshxen

I have XenServer 6.2 which only has version:

OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008

I tried to upgrade it using:

yum -y reinstall opnssh-server

or

yum -y install opnssh-server

But I just get this:

Loaded plugins: fastestmirror
Setting up Reinstall Process
Loading mirror speeds from cached hostfile
citrix                                                   |  951 B     00:00
Installed package openssh-server-4.3p2-72.el5_7.5.i386 not available.
Nothing to do

Does anyone know how to upgrade it?

Best Answer

You first need to enable the CentOS repository.

By default, XenServer only enables the Citrix repository.

There are two ways to do this: permanently and temporarily.

I've blogged about this in some detail, so I'll just cut to the chase and give the recommended way, i.e., the temporary way:

yum --enablerepo=base --disablerepo=citrix ...