ITS and UVa logos for printed output

ITS UNIX Systems

Installing SSH Clients for Red Hat Linux

OpenSSH comes with most Linux installations. As an educational institution, UVa also has obtained the ssh.com implementation for no charge. If you don't have ssh configured, ITS recommends you install our ssh.com ssh rpm for version 3. This supports ssh version 2 (ssh2).

If you have OpenSSH installed, and you want to replace it with the ITS ssh rpm, you should remove OpenSSH, then apply the rpm described below.

If you are running RedHat Linux 7.1 or later, you're running the 2.4 kernel. Earlier releases of RedHat used the 2.2 kernel. The package to install for 2.2 is ssh-3.0.1-1.i386.rpm -- the instructions below reference a later release, but the same instructions apply to all of our ssh-3.x rpms. If you're running the 2.4 kernel, use the latest version you find in the directory.

Note: You should execute the following instructions as "root." The # at the beginning of the command lines is the bash prompt.

Mount the filesystem containing the rpms.

# mkdir /itc
# /bin/mount home1.virginia.edu:/vol/itc  /itc     # 2.4 kernel
# ln -s /itc/linux /linux
# cd /linux/RPMS

Uninstall OpenSSH

# ./rmopenssh.sh

This is a shell program which will identify any OpenSSH rpms installed and remove them from your system.

Install the package

# rpm -ivh ssh-3.2.2-1.i386.rpm

You'll see something similar to:

ssh #################################################
Hostkey not found at /etc/uva/ssh2/hostkey.
Generating 1024-bit dsa key pair
  4 .oOo..oOo.oO

Key generated.

1024-bit dsa, root@bootp-13-196.bootp.Virginia.EDU, Wed Aug 23 2000 13:25:21 -0400

Key is stored with NULL passphrase.

(This is not recommended. 
Don't do this unless you know what you're doing.
If file system protections fail (someone can access the keyfile), 
or if the super-user is malicious, your key can be used without 
the deciphering effort.)

Private key saved to /etc/uva/ssh2/hostkey

Public key saved to /etc/uva/ssh2/hostkey.pub

Assuming Red Hat Linux compatible and trying to configure...

Please make sure you haven't specified sshd in /etc/rc.d/rc.local

If you already have sshd running, you should restart it or reboot.

Configuration done.

You are finished installing the ssh clients. The installation does not start the ssh daemon. Either reboot or run the command:

/etc/rc.d/init.d/sshd start

to start the daemon.

Page Updated: 2011-06-29

Standards & Policy

University of Virginia
Information Technology Services
2015 Ivy Road
P.O. Box 400324
Charlottesville, Virginia, 22904-4324 USA

UVa Help Desk: 434-924-HELP (434-924-4357) • 4help@virginia.edu

Page Updated: 2011-06-29; © 2012 by the Rector and Visitors of the University of Virginia.

The information contained on the University of Virginia’s Department of Information Technology Services (ITS) website is provided as a public service with the understanding that ITS makes no representations or warranties, either expressed or implied, concerning the accuracy, completeness, reliability or suitability of the information, including warrantees of title, non-infringement of copyright or patent rights of others. These pages are expected to represent the University of Virginia community and the State of Virginia in a professional manner in accordance with the University of Virginia’s Computing Policies.