
Start Filezilla and press Edit -> Settings There is an easy option to achieve it: follow this hardening guide to generate a pair of keys to access your VPS and continure further. You will immediately have access to your VPS over SFTP protocol. Setting up a secure setupįirst of all by default you already can connect to your server out of the box, just run filezilla, enter your VPS server IP, login/password pair and port ( by default port is 22) There are several options, that you may use: WinSCP, putty sftp client (psftp ), smartftp, or FileZilla.įilezilla is fast, used by many people, has a user-friendly interface, so i am going to describe how to setup it to have a secure connection SFTP connection. Generally password-protected SFTP connections are supported by most clients ( filezilla included ), but it is much more secure to use a key-based authentication. Prerequisitesġ) Centos 7.4 VPS server ( guide works fine for other Linux systems, Centos was used for reference )Ģ) Windows client machine, from which you will be accessing VPSģ) I highly recommend to follow this hardening guide and generate key-based access to your VPS. Basically if you can SSH to your VPS, SFTP is also working for you. To use SFTP you need to ensure your VPS has ssh v2.0 enabled ( it is enabled on your VPS by default ) and you have a working client, that can establish SSH connection to your VPS. It is a new protocol, SSH v2.0 extension, which also may be used as a secure file transfer over TLS and some other applications. Many people wrongly say that it is FTP, working over SSH, which is in fact wrong. SFTP perfectly suits our needs, that is why i am going to focus on it. Usually we simply want to transfer files to/from our VPS server in an easy, fast and secure fashion. You may ask why ? The answer is simple: both NFS and FTP, i have mentioned, require you to setup additional software on your VPS server, and require to perform additional steps to make your access secure.

In this article i am going to tell you how to use SFTP protocol. SCP - secure copy protocol, using SSH as a transport protocol There are different conventional methods of doing so, some of them are: A big part of your work may be related to transferring files to/from your VPS server.
