Using SSH from Mac OS X

  1. Navigate to the Utilities folder within the Applications folder on your startup drive, and double-click on the Terminal application.

     
  2. Run the ssh command, using the -l flag to specify a different username.
    ssh -l USERNAME SERVERADDRESS

    Note: For connecting to NJIT's AFS servers, USERNAME is your AFS login name (most likely your UCID) and SERVERADDESS is afsXX.njit.edu where XX is any number between 1 and 36.
     
  3. If you see the following message, just type "yes" to continue. Your computer is warning you that this is the first time you are connecting to this server.
    Always be aware of what servers you are connecting to.

     
  4. Enter your AFS password. If you have forgotten your password, click here to reset it.

     
  5. You are now connected to the remote server. Depending on the server's operating system, you should be able to run most common UNIX commands. For a list of common UNIX commands and their meanings, click here. These commands are all available on NJIT's AFS servers.

     
  6. To disconnect from the server and close the SSH connection, simply type "exit" and press the Enter key. This will disconnect you from the remote server and return you to your local machine's command line.

     
  7. You are now disconnected from the remote server.
Last Updated: June 29, 2017