Vsftp

From LQWiki
Jump to navigation Jump to search

The vsftp daemon is an ftp server that is designed to be very secure. Furthermore, it is easy to administer and contained in almost every distribution.

Setup

With SUSE Linux, the vsftp server is started and stopped with the xinet daemon. Per default, the vsftp configuration is contained in the file vsftpd.conf. Here's what you should consider at least:

To enable local users to log in:

local_enable=YES

To enable anonymous login:

anonymous_enable=YES

Start

To start your new ftp server, open a console and enter

/etc/init.d/vsftp start

You can now connect to your local host with the command ftp localhost. As long as the ftp server is not running, you get the error message "Connection refused".