Enable SFTP On VSFTPD In Ubuntu

Enabling is very easy and makes FTP protocol a lot more secure than traditional FTP because passwords are not sent in plain text which is susceptible to a lot of things such as packet sniffers, man-in-the-middle, etc.

Assuming has been installed (in the default location) edit the file /etc/vsftpd.conf and check there are installed and configured.

There are two entries which start with either:
_cert_file
dsa_private_key_file

or
_cert_file
rsa_private_key_file

Each specifying a file path to where the key and certificates are located.

The last step is to enable SFTP by adding the following line:
_enable=YES
Save and exit the file and restart the sudo /etc/init.d/vsftpd restart

Related posts:

  1. Removing Files With –
  2. Create And Enable SSL On Ubuntu LAMP Server
  3. Enabling Remote Access To MySQL
  4. My Performance Tweaks To Ubuntu
  5. WordPress Incorrect Username / Password With VSFTP

About Danny

Young I.T software professional always studying and applying the knowledge gained and one way to do this is blogging. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny is now in the industry that he has aimed since leaving school. View all posts by Danny → This entry was posted in Linux, Security and tagged , , , , , , , . Bookmark the permalink.

One Response to Enable SFTP On VSFTPD In Ubuntu

Leave a Reply

Your email address will not be published. Required fields are marked *.

*

All comments must go through an approval and anti-spam process before appearing on the website. Please be patience and do not re-submit your comment if it does not appear.