Installing SSH 2.3.0-2

ITC recommends you use the following rpm to install and configure ssh2 on your system.

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

Removing other versions

When you install Red Hat 7.1, it automatically installs openssh, unless you did a custom installation you will need to remove that version first before preceding with the installation of ssh 2.3.0-2.

Do search for installed ssh clients

It should return something like this:

To remove these type the following lines one at a time.

Just as a precaution you can run the query again to make sure that you have removed it all.

Mounting the filesystem containing the rpms.

Install the package


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, Mon May 14 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.

Unix/Linux Security Best Practices Home


 

© 2009 by the Rector and Visitors of the University of Virginia.

The information contained on the University of Virginia’s Department of Information Technology and Communication (ITC) website is provided as a public service with the understanding that ITC 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.