How to transfer files to a server with SFTP

How to transfer files to a server with SFTP

Overview

SFTP, or SSH (or secure) file transfer protocol, encrypts files as they are being transmitted using an SSH connection. This method is preferred over FTP when transferring confidential data, as FTP poses significant security risks despite its popularity. 

Contents

What you need

Method 1: WinSCP

  1. Download, install, and launch WinSCP.

  2. When the startup menu appears, click New.

  3. Fill the fields as follows:

    1. File protocol: SFTP

    2. Host name: Enter the hostname provided in your Nexcess Welcome Email, or contact our Support Team for it. It will resemble example.nexcess.net, but replace “example” with the actual name.

    3. Username and Password: If these are unknown to you, you may view your SSH account user name and reset your password in SiteWorx. See How to reset your SSH password and add SSH keys in SiteWorx for details, or contact our Support Team.

    4. Port: If your username resembles an email address, enter 24. Otherwise, enter 22.

  4. If this is the first time logging into the server, you will see a warning about connecting to a remote machine. Click Yes.  

  5. WinSCP will connect you to your Nexcess server and you will see a window resembling the one below. To move a file, drag-and-drop the files from the origin folder to your destination folder.

Method 2: SFTP client

This method features Cyberduck, which is only one of many available SFTP applications. It is available for Windows and macOS, though the below steps use the latter.

  1. If you are a Nexcess Cloud client, skip to Step 2. If you are a Nexcess Classic (non-Cloud) client, you must first enable SSH access as outlined in How to enable SSH access.

  2. Download and launch Cyberduck. Click Open Connection.

  3. Enter the following information:

    1. From the drop-down list at the top, select SFTP (SSH File Transfer Protocol).

    2. Server: Enter the hostname provided in your Nexcess Welcome Email, or contact our Support Team for it. It will resemble <example>.nexcess.net, but you will replace <example> and the angled brackets (<>) with the actual name.

    3. Port:  If your username resembles an email address, enter 24. Otherwise, enter 22.

    4. Username and Password: If these are unknown to you, you may view your SSH account user name and reset your password in SiteWorx. See How to reset your SSH password and add SSH keys in SiteWorx for details, or contact our Support Team.


  4. Click Connect. If this is your first time connecting to this server, you will see a warning resembling “Unknown host key for <example.nexcess.net>.” Click Allow to continue.

  5. To move a file, drag-and-drop the files from the origin folder to your destination folder.  

 

For 24-hour assistance any day of the year, contact our Support Team by email or through the Client Portal.

 

Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
How to transfer files using WinSCP
Added on Fri, Aug 15, 2014
How to conserve disk space in Magento
Added on Wed, Jan 30, 2019
How to use the Nexcess Secure Password Generator
Added on Tue, Jan 15, 2019
What is chmod?
Added on Mon, Feb 23, 2015
How to install Invision Power Board
Added on Fri, Feb 15, 2019
What is Subversion?
Added on Mon, Aug 18, 2014
How to improve the security of your Magento store
Added on Wed, Dec 26, 2018
How to configure WordPress file permissions
Added on Wed, Jan 2, 2019
How to add SSH keys to your Nexcess Cloud account
Added on Tue, Oct 23, 2018
How to protect your Magento store from the Credit Card Hijack exploit
Added on Tue, Jan 29, 2019