How do you use sftp to transfer files?

Asked by:
gwaine / 8 Points
2011-08-14 9:30 pm EST
File Management
I'm using WinSCP (sftp client) and am using the same hostname as with ftp, port 22, with the same username and password as for regular FTP (which works just fine). Do I have to enable something? It just times out (don't even get to where I enter the password). It almost feels like the port isn't open, etc. Thanks for your help!

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by User


591 Points
2011-08-15 7:52 am EST

Since SFTP by definition requires some form of SSH access, unfortunately it is not available on our servers. You can, however, <a href='' target='_blank'>connect to your account via FTP</a> using an SSL connection for a secure connection. In WinSCP, you still will do that through their SFTP option, using the following settings:

<strong>Host name</strong>:
<strong>Port number</strong>: 22
<strong>Username</strong>: userna5
<strong>Password</strong>: Your cPanel Password
<strong>File protocol</strong>: SFTP (keep box unchecked)

The ## in the host name is the server number that your account is on. For example, if you are on server ehub22 (you can find your Server Name by <a href='' target='_blank'>logging into your cPanel</a>, in the left hand column) and your cPanel username is gwaine5, your settings would look like:

<strong>Host name</strong>:
<strong>Port number</strong>: 22
<strong>Username</strong>: gwaine5
<strong>Password</strong>: Your cPanel Password
<strong>File protocol</strong>: SFTP

I downloaded WinSCP and tested it on our servers, so that should work without any issues. Even though it technically isn't over SFTP, it does provide a secure setting when you connect since it is using the shared certificate on your server. The first time you connect a warning box will pop up telling you the host is unknown. This only happens because it is a shared certificate, but it offers the same protection so it is safe to click "yes." If you have any other questions just let us know!

- Kevin

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

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

Not a Customer?

Get web hosting from a company that is here to help.