Unable to connect FileZilla to ubuntu ec2
- by user1775063
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