How to install vsFTP in ubuntu desktop?
First# Install vsftpd
Type following commnad
$sudo apt-get install vsftpd
Second# Configure /etc/vsftpd.conf
You need to modified default /etc/vsftdp.conf file to access to the ftp server
$sudo vim /etc/vsftpd.conf
Make sure following lines should be uncomment
listen=yes
local_enables=yes
write_enables=yes
dirmessage_enable=yes
use_locatime=yes
xfrelog_enable=yes
connect_from_port_20=yes
ftpd_banner=Welcome to Jay FTP server
chroot_local_user=yes
chroot_list_enable=yes
chroot_list_file=/etc/vsftpd.chroot_list
Third#Now make a file name vsftpd.chroot_list
(Otherwise you may encounter following error,
500 OOPS: could not read chroot() list file:/etc/vsftpd.chroot_list)
$ sudo vi /etc/vsftpd.chroot_list
(add a user on this file)
e.g jay
(
Fourth# Restart vsftpd
$sudo /etc/init.d/vsftpd.restart
To check your ftp server is working or not just use this command
$ftp localhost
If all setting is fine then your ftp sever is ask for username and password.
This is simple step to create ftp server, for more secure and advance service just use google.
I just did everything exactly that you stated above. I created a user, added it to the chroot list and tried to login via CuteFTP from outside our network to the FTP server's NAT'd address. I keep receiving the error "Login incorrect". The login info is correct. Is there anything else that we need to do? Please help!
ReplyDeleteIt's difficult me to understand your topology,can you explain issue in detail. However for NAT'd address, you must port forward in your NAT'd router.
ReplyDelete