How do you use sftp to transfer files?

Asked by:
gwaine / 8 Points
Time:
2011-08-15 4:30 am EST
Category:
File Management
Hits:
4,309
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

0

KevinW
591 Points
2011-08-15 2:52 pm EST
Hello!

Since SFTP by definition requires some form of SSH access, unfortunately it is not available on our servers. You can, however, <a href='http://www.webhostinghub.com/help/learn/website/getting-started-guides/getting-started-ftp' 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>: userna5@secure##.webhostinghub.com
<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='http://www.webhostinghub.com/help/learn/cpanel/101-getting-started/how-to-login-to-cpanel' 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>: gwaine5@secure22.webhostinghub.com
<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!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 757-416-6627 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.
}