How do I use SFTP?

SFTP is a simple, command-line method to securely transfer files, eliminating some of the security risks of FTP.

To use SFTP, you must have shell access (SSH) enabled for your domain. If you have your own server, or are a reseller with SSH privileges, you may be able to use the WHM control panel to enable shell access. If not, contact support for shell access, including a scanned copy of a proof-of-identity (ID) for faster service.

This example uses Putty's version of free SFTP, however you can use any
SFTP tool that works well, substituting their launch command for PSFTP
below. Here are the instructions, using PSFTP:



Starting PSFTP



The usual way to start PSFTP is from a command prompt. To do this, it
will need either to be on your PATH or in your current directory. To
add the directory containing PSFTP to your PATH environment variable,
type into the console window:



set PATH=C:\path\to\putty\directory;%PATH%

PSFTP has no complex command-line syntax; you just specify a host name:



psftp server.example.com



Here is a sample session created from a Windows computer command console, using the username "root":



C:\Documents and Settings\Owner\My Documents\>psftp server.example.com

login as: root

root@server.example.com's password: <enter your password here>

Remote working directory is /root

psftp>


From here, you can use your SFTP's commands to transfer files, etc.


If you'd like to use Putty's free version of SFTP, click here.


  • 421 Users Found This Useful
Was this answer helpful?

Related Articles

What is FTP?

FTP, or File Transfer Protocol, is a way of transferring files over the Internet from a computer...

What is my FTP login information?

FTP access allows you to upload new content to your website for your users to see.Here is the FTP...

What folder do I upload in?

Once logged into FTP, you will need to upload in the public_html folder. The 'www' folder is a...

Where do I upload CGI/Perl?

Please upload all CGI/Perl files into your cgi-bin folder inside of public_html. Absolute...

What is a server timeout?

If you are in a live FTP session and inactive for 300 seconds, the server will terminate your...