Skip to main content

17.1) Secure Shell


In this final section, I will show you how to interact with other computers.
If you are on a Unix computer and you want to log into another Unix computer then use the ssh command. You will have to know the name of the other computer in order to connect and you will have to have an account on the other computer as well in order to log in. Here is an example,
ssh –l earv047 feeble.leeds.ac.uk
ssh is the Unix command, -l (‘l’ as in leg) is followed by your login name and then the computer name ‘feeble.leeds.ac.uk’. Please watch the video to see an example.


This shows how to connect to a Unix computer from another Unix computer.
Note 1:
If you are on a unix computer (call it A) and you have a terminal open and you use ssh to connect to a computer B, you may want graphics to be show on the computer that you are sitting at (computer A).  To do this, use the -X option as:
ssh -X -l earv047 feeble.leeds.ac.uk
Note 2:
You will need to ask your system administrator which computers can be connected to from outside the University since most are behind the firewall and cannot be viewed. Computers that you can access are referred to as gateways.