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
- WinSCP (Windows)
- MobaXterm (Windows)
- Linux Alternative (sftp/sshfs)
- Common Issues and Troubleshooting
WinSCP (Windows)
Installation
- Download the latest version of WinSCP from the official website .
- Follow the installer steps to complete the setup.
Configuration and Usage
- Open WinSCP and click on New Session.
- Enter the following details:
- File protocol: SFTP
- Hostname:
<user_name>@<your_sftp_server>
Replace
user_name
with your cs student username.
Replaceyour_sftp_server
with with the url of the server you are connecting to. - Port number:
22
(default for SFTP) - 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
- Download MobaXterm from the official website .
- Install it by following the setup steps.
Configuration and Usage
- Open MobaXterm and click on Session > SFTP.
- Enter the following connection details:
- Hostname:
<user_name>@<your_sftp_server>
Replace
user_name
with your cs student username.
Replaceyour_sftp_server
with with the url of the server you are connecting to. - Port:
22
- Username: Your SFTP username
- 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
- Open a terminal.
- Run the command:
sftp <username>@<your_sftp_server>
Replace
user_name
with your cs student username.
Replaceyour_sftp_server
with with the url of the server you are connecting to.
basic commands
- ls: List files on the remote server.
- get [filename]: Download a file.
- put [filename]: Upload a file.
- 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.