InMotion Hosting Support Center

With the rise of security risks on Websites that process credit cards, some PCI compliance companies, like Trustwave are requiring FTP to be shut off and a different method of uploading and downloading files be used. In order to accommodate these PCI compliance requirements, you can use SFTP or SCP to copy files from your local computer to your server.

What is SFTP and SCP?

SFTP is SSH File Transfer Protocol, Secure File Transfer Protocol, or Secure FTP. An SFTP connection uses port 22 through the command line or another SFTP client. SFTP connects securely so the data is encrypted over the network. You can restrict certain IP addresses and allow certain IP addresses making the SSH port 22 open only to specific users.

SCP is Secure copy based off of the Secure Shell Protocol (SSH). SCP is a Secure connection over port 22 that allows only certain IP addresses to access the server the same as SFTP.

Why would I want to use SCP and SFTP?

If you are running a website that requires credit card payment transactions, you will need to follow PCI compliance standards. This is to ensure that the site will not be compromised by hackers trying to steal personal information. Website owners run PCI compliance scans on their server to find any potential risks to website attacks. When the server fails to pass the PCI scan due to FTP port 21 being open, the web developer is forced to use a different method to upload and download files from the server. This is where SCP and SFTP come in. SFTP and SCP allow the developer to connect to your server on a secure connection.

How do I connect / use SCP and SFTP?

You can use SSH Secure Shell, PuTTy, FileZilla or another program to connect to your server using SFTP. WinSCP can connect to your server using SCP protocol. You can even use some HTML editors to connect with SFTP like DreamWeaver.

Connecting with SFTP with FileZilla

  1. Open FileZilla.
  2. Click the site manager button at the top right of the FileZilla client.
  3. Conecting SFTP with FileZillaSet your connection to the following settings.
    Port: 22
    Protocol: SFTP (SSH File transfer Protocol)
    Logon  type: Normal
    User: The cPanel username
    Password: The cPanel password
    Account: Leave blank

    Important! You must have your local IP address added to your server Firewall through the WHM.

Connecting with SCP with WinSCP

  1. Open WinSCP.
  2. Connecting with SCP WinSCPSet your connection to the following settings.
    Host name:
    Port number: 22
    File Protocol: SCP 
    User name: The cPanel username
    Password: cPanel password

    Important! You must have your local IP address added to your server Firewall through the WHM.

Was this article helpful?

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

n/a Points
2017-12-05 1:33 am

Just a note - if you are using a private/public key and have switched off password login for SSH, you can't use SFTP. You can use standard FTP and set the encryption to Use: Require explicit FTP over TLS.

n/a Points
2017-10-07 5:09 am

I've tried with FireFTP and Filezilla.

On FireFTP : Authentication failed

On FileZilla : No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic).

So, there is no way to connect with SFTP, please can you help? Thanks

11,000 Points
2017-10-09 11:02 am
This may depend on the kind of account you have. If you are using a shared account, you'll want to make sure you have SSH access. If you are in a VPS/Dedicated server, you will want to make sure that the cPanel account you're using to connect has SSH access as well. If you are using a standard FTP account, or using port 21, the connection will fail.
n/a Points
2017-10-03 12:13 pm

Thank you!!! After hours of searching, this was the easiest, more straightforward way to understand and connect!

n/a Points
2015-01-18 2:10 am
Nothing to improve! Super easy to understand. I was able to configure Filezilla to use SFTP in less than a minute after reading the article.

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

6 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!