How to use SSH and SFTP

~ 0 min
2021-02-09 11:35

1. Introduction

NOTE: All usernames are case sensitive and must be in a lower case format.

This article gives instructions on how to remotely access computer resources at Florida Tech, such as code01.fit.edu, using SSH and SFTP.

For general information on applications available on code01.fit.edu, please visit this FAQ: Tech Support Self Help - Assistance with installed software on Code01 (fit.edu)

SSH, which stands for Secure SHell, allows remote users to access servers over an encrypted communication session. SFTP is a Secure File Transfer Protocol and allows files to be downloaded from and uploaded to remote servers. SSH is the secure method to access files and run remote sessions. SSH encrypts all information between the client and the server. Additional information about SSH can be found by visiting: http://kb.iu.edu/data/aelc.html.

In addition to applications available on code01.fit.edu via SSH, your UDrive is accessible using an SFTP client application. Files saved in your home directory will be immediately available on the "U:" drive on the Microsoft Windows computers and vice versa. The "U:" drive and your home directory are the same folder.

2. What do I need to access SSH or SFTP on code01.fit.edu or another server?

Apple, Linux, and newer versions of Windows 10 have an SSH/SFTP application built-in and they are accessible by the terminal/command prompt.

For older Windows operating systems, or if you wish to use an application with a GUI, an SSH/SFTP application needs to be installed:

3. How to SSH into code01.fit.edu with Putty SSH Client on Windows?

  1. Download and install the Putty SSH Client
  2. Open the Putty SSH Client
  3. Enter these connection settings:
    1. Host Name: code01.fit.edu
    2. Port: 22
    3. Connection Type: SSH
  4. Click Open to start the SSH session.
  5. If this is your first time connecting to the server from this computer, accept the connection by clicking Yes.
  6. Once the SSH Connection is open, you should see a terminal prompt asking for your username:
    1. login as:
  7. Type your Tracks username in lower-case letters and press enter.
  8. Next, enter your password. Please note that you will NOT see your cursor moving, or any characters typed (such as ******) when typing your password. This is a standard PuTTY security feature. Press enter.
    1. Using keyboard-interactive authentication.
    2. Password:
  9. You are now logged into code01.fit.edu with SSH.

Reference: https://mediatemple.net/community/products/dv/204404604/using-ssh-in-putty-(windows)

4. How to SFTP into code01.fit.edu server with FileZilla SFTP Client?

  1. Download and install FileZilla Client.
  2. Open FileZilla Client.
  3. Click on the Site Manager button.
  4. Click on the "New Site" button.
  5. Type a name for the connection.
  6. Enter the following connection information via SFTP
    1. Host: code01.fit.edu
    2. Port: 22
    3. Protocol: SFTP - SSH File Transfer Protocol
    4. Login Type: Normal
    5. User: Enter your Tracks username using lower case letters
    6. Password: Enter your Tracks password
  7. Click on the "Connect" button to connect to code01.fit.edu over SFTP.

Reference: https://support.ftptoday.com/hc/en-us/articles/226905168-How-to-connect-with-SFTP-using-Filezilla

5. How do I use an Apple, Linux, or Windows command line SSH client?

  1. Open a terminal or command prompt, type "ssh code01.fit.edu".
  2. If this is your first time connecting to the server from this computer, accept the connection by typing Yes and press enter.
  3. Once the SSH Connection is open, you should see a terminal prompt asking for your username:
    1. login as:
  4. Type your Tracks username in lower case letters and press the ENTER or RETURN key.
  5. Next, enter your password. Please note that you will NOT see your cursor moving, or any characters typed—such as ******—when typing your password. Press enter.
    1. Using keyboard-interactive authentication.
    2. Password:
  6. You are now logged into code01.fit.edu with SSH.

6. What are some common problems, and who do I ask for help?

Enter a support request at https://myfootprints.fit.edu.  You can fill out a support request with any questions you may have. 

Below are the two most common issues encountered when attempting to connect to code01.fit.edu:

  • Using an upper case letter in the username. Usernames are case sensitive on Unix and Linux systems, such as code01. Therefore, there is a difference between 'johndoe1234' and 'JohnDoe1234', with the latter not being a valid username. Entering an invalid username too many times will cause your IP to be blocked, as described in the next issue.
  • Entering a bad username and/or password too many times. After 10 failed login attempts (for any reason), if you are connecting from an off-campus computer, your public IP will be blocked. If this happens, you will need to create a support request to have it unblocked.

7. Where can I find help with Unix or Linux commands?

For general information on applications available on code01, please visit this FAQ: Tech Support Self Help - Assistance with installed software on Code01 (fit.edu)

Additionally, there are lots of Unix and Linux help sites on the web, try a search on Google.

8. How can I run remote graphic applications on my computer?

Graphical applications on code01.fit.edu can be run locally on your computer by running an X window server. Apple, and Linux systems with an installed GUI (Graphical User Interface), normally have this installed. However, on Windows, this is achieved through the use of an application such as Xming or MobaXterm.

Xming is a free X window server for Windows operating systems. It allows the user to run Linux graphical applications remotely on a Windows computer. For example, if you were to ssh into code01.fit.edu, through one of the applications listed above, and type gedit or eclipse while Xming is running on your local machine, a new window will popup on your local computer displaying the program. The application would still be running on code01.fit.edu, and just the User Interface window would display on your computer.

For more information please visit the following site Getting Starting With Xming

MobaXterm is a proprietary application that combines the functions of many separate applications, such as SSH and SFTP clients and X window server, into one application. There is a free version, called the 'Home Edition' that is available, with some limitations.

For more information, please see https://mobaxterm.mobatek.net/. For a comparison of the free and paid versions, please visit https://mobaxterm.mobatek.net/download.html.

Average rating 0 (0 Votes)

You can comment this FAQ