image_alt_text

31

Jan/10

Enable SFTP On VSFTPD In Ubuntu

Comment RSSFiled Under Linux at 31st January 2010 0:01 by Danny
  Tags: , , , , , , ,

Enabling SFTP 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 VSFTPD has been installed (in the default location) edit the file /etc/vsftpd.conf and check there are security certificates installed and configured.

There are two entries which start with either:
dsa_cert_file
dsa_private_key_file

or
rsa_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:
ssl_enable=YES
Save and exit the file and restart the FTP server sudo /etc/init.d/vsftpd restart

Related Posts

  1. My Performance Tweaks To Ubuntu
  2. Enabling Remote Access To MySQL
  3. SSH On Multiple Ports
  4. Ubuntu 8.10 – The Pain
  5. MediaTomb DLNA To Playstation 3

Leave a Reply

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.