Пол дня бьюсь с фтп, перепробовал несколько инструкций, ковырял конфиг со всех сторон, и все равно ничего не получается.
Сервер на убунте.
конфиг:
listen=NO
listen_ipv6=YES
anonymous_enable=NO
local_enable=YES
write_enable=YES
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/certs/ssl-cert-snakeoil.pem
rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
ssl_enable=YES
pam_service_name=vsftpd
логи
Mon Aug 3 08:31:12 2015 [pid 54834] CONNECT: Client "::ffff:122.233.53.160"
Mon Aug 3 08:31:14 2015 [pid 54833] [anonymous] FAIL LOGIN: Client "::ffff:122.233.53.160"
Mon Aug 3 08:31:16 2015 [pid 54838] CONNECT: Client "::ffff:122.233.53.160"
Mon Aug 3 08:31:25 2015 [pid 54840] CONNECT: Client "::ffff:122.233.53.160"
Mon Aug 3 08:31:37 2015 [pid 54843] CONNECT: Client "::ffff:122.233.53.160"
Mon Aug 3 08:31:40 2015 [pid 54845] CONNECT: Client "::ffff:122.233.53.160"
Mon Aug 3 08:31:43 2015 [pid 54844] [ftp] FAIL LOGIN: Client "::ffff:122.233.53.160"
мои действия:
localuser@localusermachin:/etc$ ftp localhost # Пытаюсь подключится локальным пользователем
Connected to localhost.
220 (vsFTPd 3.0.2)
Name (localhost:localuser): localuser
530 Non-anonymous sessions must use encryption.
Login failed.
421 Service not available, remote server has closed connection
ftp> exit
localuser@localusermachin:/etc$ ftp localhost #Пытаюсь подключится фтп пользователем
Connected to localhost.
220 (vsFTPd 3.0.2)
Name (localhost:localuser): ftp
331 Please specify the password.
Password:
530 Login incorrect.
Login failed.
ftp> exit
221 Goodbye.