SFTP - How to Enable sFTP on your VPS

From Hostek.com Wiki
Revision as of 21:13, 22 April 2013 by Calebc (Talk | contribs) (Setting your FTP client to use SFTP)

Jump to: navigation, search

SFTP

This is for setting up your VPS to have a domain use Secure File Transfer Protocol for being able to upload/remove files.

cPanel

Creating Your SSH keys for a domain on your VPS

  1. Log into your WHM for your server.
  2. Go to your "Account Information" » "List Accounts" and access the cPanel for the domain in question.
  3. Access the SSH/Shell access Icon.
  4. Click the Manage Keys button.
  5. Click the Generate new Key at the top.
  6. Fill in the requested information to generate the key.
  7. You should now have both a Public and Private Key. Click and download both keys and save them on your computer.

Setting your FTP client to use SFTP

For these steps we will be using FileZilla.

  1. Open your FTP client and select Settings.
  2. Select the SFTP in the options menu.
  3. Click the Add Key.
  4. Browse for the Key you recently downloaded from cPanel.
    NOTE:If your key is already a .ppk file you should be fin if not FileZilla will ask to convert it.
  5. Click Ok to save the settings.
  6. Now you may begin to start your SFTP connection using port 22 with your other normal FTP credentials.