Using Terminal Application in Mac OS X
Posted on 29 May 2005 06:04 PM
SSH allows you to access to the command line environment on the FutureQuest servers.
Below we describe how Mac OS X users can use the Terminal application to connect to the FutureQuest servers with SSH.
If you are still using Mac OS 9, then you will need to use some type of SSH program, such as MacTelnet. Because the Terminal application in Mac OS X can make SSH connections, Mac OS X does not require a separate SSH client, although you may still prefer to use one. MacTelnet is compatible with both Mac OS 9 and Mac OS X, and there are other SSH clients available for Mac as well. Others may be found at software directories such as MacUpdate.
Begin by opening the Terminal application. You will find the Terminal in the Utilities folder inside of your Applications folder. After opening the Terminal, you will see something like this:
To connect to the server, you will need to know the username and password for your hosting package -- the same ones you use to access your CNC and your main FTP. The example below assumes the following access information:
When following the example below, make sure to replace webuser with your actual username for your hosting package, and replace example.com with your actual domain name.
After opening the Terminal, you will enter the following command to make an SSH connection to your server:
The command is ssh, the -l is an option allowing you to specify the username for logging in to the server. Right after the -l option you need to provide your hosting package username, and then the domain for your site. Then press the Return key.
If you have not accessed your server by SSH previously, then after pressing Return you will probably see a message similar to this one:
To continue, type yes and press the Return key.
You will then be prompted to enter your password.
Type your password carefully and then press the Return key. When you type your password, none of the characters will be shown on the screen and the cursor will not move. You will need to type very carefully, as multiple incorrect logins can result in your IP being blocked from the server. If this happens to you, you will need to send an email to Service@FutureQuest.net with your public IP address so that the block can be removed.
After successfully entering your password, you will see the command line prompt.
You will be in your $HOME directory. To move up to the parent directory, you can enter this command:
Other common commands are given in the Common Unix/Linux Commands Used Via SSH guide.