ToC1. Names and addresses

Before you start, you need to know the Internet hostname (or the numeric IP address) of the machine you want to log into.

The names of machines are usually in the format machine.site.network, for example rtfm.mit.edu or www.ucc.ie, but you can also use the numeric (IP) address if you know it (four numbers separated by dots, eg 143.239.1.112). Note that some countries add a fourth, and sometimes even a fifth, element to the name, eg juno.cs.soton.ac.uk.

ToC2. SSH

Traditional terminal programs have no graphical interface of their own. You can use them in a window inside a graphical user interface like Microsoft Windows, the X Window System, or Mac OS X, but there are no menus or icons.

There are some useful graphical versions of the SSH program for windowing systems which add extra functions like letting you store frequently-used addresses, usernames, and passwords. In these cases, it is generally A Bad Idea to store the passwords, as anyone who can use your computer would then also be able to log in to your remote sites.

Up to start of section2.1. Logging in

The very first time you connect to the server with SSH from a computer where you haven't done this before, it may ask if you wish to accept the public security key (this may be displayed in a separate pop-up window): answer by clicking  OK  or by typing yes and pressing Enter.

Terminal Commands
_=X
The authenticity of host 'www.ucc.ie (143.239.1.112)' can't be established.
RSA key fingerprint is fc:10:cc:1e:54:53:f3:03:46:58:6c:0f:32:e3:5f:79.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'www.ucc.ie' (RSA) to the list of known hosts.

login as: ontology
ontology@www.ucc.ie's password:         

SSH will then ask for your password: type in your password and press Enter. Once you are logged in, it's just a normal terminal.

The password will not be displayed, not even as a row of dots. Make sure you type it correctly!

On subsequent occasions you will just be asked for your username and password.

Up to start of section2.2. Changing your password

Passwords expire every 90 days on UCC servers. If you cannot log in, it's probably because your password has expired. To have your password reset, email the webmaster.

ToC3. Using the command terminal

Commands may differ according to what kind of machine you are logged into. There is a summary of some common Unix commands in unixtips.

Up to start of section3.1. Typing commands

The very first time you access a machine, your SSH program will ask you to confirm that you really do mean that machine. Assuming you got the address right, answer yes

The remote system will then ask you to login, and may then display a welcome message and any security announcements of its own. When the system displays a $ sign, it's ready for you to type a command.

Terminal Commands
_=X
The authenticity of host 'www.ucc.ie (143.239.1.112)' can't be established.
RSA key fingerprint is fc:10:cc:1e:54:53:f3:03:46:58:6c:0f:32:e3:5f:79.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'www.ucc.ie' (RSA) to the list of known hosts.

login as: ontology
ontology@www.ucc.ie's password:        

This is www.ucc.ie (nina), the main UCC web server.
Access to this system is for registered website owners ONLY.
Continued use implies acceptance of the Acceptable Use Policy
(see http://www.ucc.ie/aup/). Unauthorised use is prohibited.
$

Don't forget you must press the Enter key after every command you type: until you do so, the system doesn't know you've typed anything!

To know what commands to type, refer back to the documentation that told you to use SSH. Some elementary Unix commands are listed in unixtips.

One of the most common reasons for web site owners to log in is to change password.

Up to start of section3.2. Logging out

You must log out when you have finished, otherwise the next user will be able to use your account. Type  exit  at the $ sign when you have finished. If you fail to do this, you are leaving your account open to the next person to use your computer.

RSS newsfeedKeep up to date with our RSS newsfeed