Skip to content

SFTP Services


SFTP Access Documentation

This guide provides instructions on connecting to an SFTP server using WinSCP and MobaXterm on Windows, as well as Linux alternatives.


Table of Contents

  1. WinSCP (Windows)
  2. MobaXterm (Windows)
  3. Linux Alternative (sftp/sshfs)
  4. Common Issues and Troubleshooting

WinSCP (Windows)

Installation

  1. Download the latest version of WinSCP from the official website .
  2. Follow the installer steps to complete the setup.

Configuration and Usage

  1. Open WinSCP and click on New Session.
  2. Enter the following details:
  3. File protocol: SFTP
  4. Hostname: <user_name>@<your_sftp_server>

    Replace user_name with your cs student username.
    Replace your_sftp_server with with the url of the server you are connecting to.

  5. Port number: 22 (default for SFTP)
  6. Click Save if you want to store the session or Login to connect immediately.

File Operations

  • Drag-and-drop files to upload or download between the local and remote directories.
  • Right-click files for options like Edit, Rename, or Delete.

MobaXterm (Windows)

Installation

  1. Download MobaXterm from the official website .
  2. Install it by following the setup steps.

Configuration and Usage

  1. Open MobaXterm and click on Session > SFTP.
  2. Enter the following connection details:
  3. Hostname: <user_name>@<your_sftp_server>

    Replace user_name with your cs student username.
    Replace your_sftp_server with with the url of the server you are connecting to.

  4. Port: 22
  5. Username: Your SFTP username
  6. Click OK to connect.

File Operations

  • MobaXterm opens a split view, with the local system on one side and the remote directory on the other.
  • Use drag-and-drop functionality to move files between directories.

Linux Alternative

For Linux, SFTP connections can be made using the sftp command or mounting the server as a local directory using sshfs.

Using sftp Command

  1. Open a terminal.
  2. Run the command:
sftp <username>@<your_sftp_server>

Replace user_name with your cs student username.
Replace your_sftp_server with with the url of the server you are connecting to.

basic commands

  1. ls: List files on the remote server.
  2. get [filename]: Download a file.
  3. put [filename]: Upload a file.
  4. exit: Disconnect from the session.

Common Issues and Troubleshooting

  • Connection Timeouts: Ensure the SFTP server IP, port, and firewall settings are correct.
  • Permission Denied: Confirm that you have the correct file permissions and credentials.
  • File Transfer Errors: Check the file path and ensure there is sufficient space on both ends.

Chat with Archibald

Disclaimer

Disclaimer: Archibald is an AI assistant for the ODU CS Systems Group. Information provided is based on internal documentation and policies. The responses are automatically generated and may not always be accurate or complete. The prompts you provide will be used to further develop our AI in the hopes of generating better answers.