Secure Shell (SSH) is a network protocol that allows data to be exchanged using a secure channel between two computers. SSH is typically used to log into a remote machine and execute commands, but it also supports tunneling, forwarding arbitrary TCP ports and X11 connections; it can transfer files using the associated SFTP or SCP protocols.

This article will show you how to setup SSH to remotely administer a Linux box.

SSH Server

Package Manager1. OpenSSH should already be installed in RHEL/CentOS 5. If not, you can add it now using the Package Manager.
Security Level Configuration3. Make sure that SSH is open in the firewall. Learn how to configure the firewall.

SSH Client

To connect to the remote machine, type in ssh server from a terminal window. Replace server with the name or IP of the target machine. This section will describe how to use PuTTY, a free implementation of Telnet and SSH for Win32, to connect to an SSH server from Windows.

PuTTY1. Run PuTTY. In the PuTTY Configuration window, fill in the Host Name field and click the Open button.
PuTTY2. If this is your first time to connect to the server, you will be asked to confirm the identity of the server, click Yes to confirm.
PuTTY3. In the PuTTY terminal window, type in your user name and password. That’s it, you should now have a terminal window.

Visit the forum to ask for help or to give a comment.

***
Posted on 4/26/2008 and last updated on 11/6/2009
Filed under System Administration