Unable to connect FileZilla to ubuntu ec2

Posted by user1775063 on Ask Ubuntu See other posts from Ask Ubuntu or by user1775063
Published on 2012-10-25T17:56:29Z Indexed on 2012/10/30 17:20 UTC
Read the original article Hit count: 187

Filed under:
|

I have a micro ubuntu instance on ec2. I have done a passwd to set it to simple password. I have installed vsftpd on the ec2 instance. And imported the ec2 pem file via FileZilla-Settings-SFTP, and configured vsftpd.conf with following

listen=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=YES
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vsftpd.pem
local_root=/home/ubuntu
pasv_enable=YES
pasv_max_port=12100
pasv_min_port=12000
port_enable=YES

I am using username ubuntu, password that_i_set, port 21. I get the following error

Error:  Critical error
Error:  Could not connect to server

© Ask Ubuntu or respective owner

Related posts about vsftpd

Related posts about filezilla