Network Connections

SSH

      The command ssh is a replacement program for telnet. It allows you to connect to remote hosts, much like telnet. However, it has some added features. It will encrypt the connection between your local machine and the remote machine. It will also automatically forward X graphics. This means that you can run a command like netscape on a remote machine and have the graphics appear on your local machine. To connect to students from your local machine, type:

$> ssh students.uiuc.edu

      If you have not connected to this machine before, it may ask if you want to add the machines key to the list of known hosts. When it prompts you, type in yes. Below is an example sshing to somemachine for the first time:

$> ssh somemachine
Host key not found from the list of known hosts.
Are you sure you want to continue connecting (yes/no)? yes

      If your login is different on the remote machine, you will need to specify the other login at the command line. For example, if your netid is jones here, but on xyz.com, it is b-jones, then type in:

$> ssh -l b-jones xyz.com

Telnet

      The command telnet allows you to connect to other machines on the network from the machine you are currently working on. You could work on several remote computers simultaneously by bringing up several different windows and executing telnet command in each of them. Remember, the EWS workstations are in your local domain, and you don't need to type in a full domain name in order to get to them. For example, if you are currently logged into mehpx6 and you would like to open a window on mehpx17, type :

$> telnet mehpx17

      However, to connect to machines outside the EWS, you must know the full address and have an established login for that host. For example, if you are logged into mehpx6 and you would like to open a window on one of the CCSO machines, such as students , type:

$> telnet students.uiuc.edu

      If the connection is successful, the login prompt for the remote host (in this case, students)will be displayed. Now log into the new system.


For more information on EWS Network Connections one can look at:

Back to the table of contents