Skip to main content
Using SFTP

How to Use SFTP to Remotely Access Your VPS Files

B
Written by BL
Updated over a week ago

Choosing your SFTP Client

There are several popular solutions for SFTP clients, the software used to easily transfer files from your local PC. Likely the most popular is FIleZilla SFTP due to its simple GUI and wide compatibility, and that's what we'll be using today. However, you can also consider the following options if that doesn't appeal to you:

  • PuTTy SFTP client – A command-line interface that will be familiar to users of the PuTTy SSH tool

  • Solar-PuTTy SFTP client – A Windows-based tabbed GUI SSH client that also supports SFTP file transfer

  • WinSCP SFTP client – Another widely used Windows FTP file utility that support SFTP

  • MonstaFTP – An browser-based FTP and SFTP solution

  • CyberDuck SFTP client – Free SFTP client that works on MacOS and Windows and integrates with OneDrive, Google Drive, and Dropbox

How to transfer files to your VPS with FileZilla

You should be able to connect to your server with FileZilla SFTP with no additional setup by simply entering your IP on port 22 and entering your username and password. However, it's worth noting that you should consider generating an SSH key via PuTTy for additional security first. You should also ensure that your system is up to date, with the latest security patches applied, and you can optionally change your SSH port and disable root login. You can read more about VPS security good practices here.

Once you've downloaded FileZilla, follow the install process, declining any "additional software".

1.1-7

It will open the following screen. If you're using SSH keys, click Edit > Settings... in the top bar.

1.2-4

Open the SSH heading in the sidebar and click Add key file... in the main pane. Select the private key generated by PuTTy and click Open. You can then close out of the settings menu by pressing OK.

You can then set up connection to the VPS by clicking File > Site Manager... in the top bar:

Press the New site button, enter a name for your VPS, then add the following details:

  • Protocol: SFTP - SSH File Transfer Protocol

  • Host: Your VPS IP, such as 12.34.567.89

  • Port: Use the default SFTP port of 22 or specify the custom port you set up earlier.

  • Logon type: Interactive logon – enter your VPS username

1.4

Once you're done, press Connect and enter your SSH key password if it has one.

1.6

You can add any file or folder from your local PC by navigation to the destination folder in FileZilla, then dragging and dropping it into the directory from File Explorer. You may be prompted to enter your password, after which the transfer progress will show in your Queued files pane at the bottom.

Did this answer your question?