OpenSSH is included in a default Fedora installation, unless manually excluded. To confirm that you already have it installed, run the rpm -qa | grep openssh
command. The output shown here may differ slightly from your output:
$ rpm -qa | grep openssh
openssh-6.1p1-6.fc18.x86_64
openssh-server-6.1p1-6.fc18.x86_64
openssh-clients-6.1p1-6.fc18.x86_64
The above command queried the RPM package database and the output shows the OpenSSH RPM packages that are installed on the system. Run the ssh -V
(upper-case 'V') command as another way to find out the installed version:
$ ssh -V
OpenSSH_6.1p1, OpenSSL 1.0.1e-fips 11 Feb 2013
If you do not have the openssh package installed, you can install it with the yum
command. Perform the following command as the root user and follow the instructions to install openssh:
# yum install openssh