[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

vsftpd with ssl



I installed vsftpd on Wheezy and am trying to make it work with ssl (ftps
protocol).

This is my config file:

listen=YES
anonymous_enable=NO
local_enable=YES
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
nopriv_user=ftpsecure
secure_chroot_dir=/var/run/vsftpd/empty
pam_service_name=vsftpd
rsa_cert_file=/etc/ssl/private/vs.pem
ssl_enable=YES
debug_ssl=YES
log_ftp_protocol=YES

/etc/ftpusers does not contain user vsftp.

I connect with:

lftp ftps://vsftp@127.0.0.1:21
Password: 
lftp vsftp@127.0.0.1:~> ls        
ls: Fatal error: gnutls_handshake: An unexpected TLS packet was received.

In /var/log/vsftpd.log appears:

Mon Sep 29 21:55:10 2014 [pid 2] CONNECT: Client "127.0.0.1"
Mon Sep 29 21:55:10 2014 [pid 2] FTP response: Client "127.0.0.1", "220 (vsFTPd
2.3.5)"
Mon Sep 29 21:55:10 2014 [pid 2] FTP command: Client "127.0.0.1",
"????P???L??T)???T?HI??????????+???|NH????D???0?3?G?E?9?K?????2?@?D?8?J?????F?/?<?A?5?=???"
Mon Sep 29 21:55:10 2014 [pid 2] FTP response: Client "127.0.0.1", "530 Please
login with USER and PASS."
Mon Sep 29 21:55:10 2014 [pid 2] FTP command: Client "127.0.0.1",
"????????????????"
Mon Sep 29 21:55:10 2014 [pid 2] FTP response: Client "127.0.0.1", "530 Please
login with USER and PASS."

Please help me beacuse I have no ideas.

Kind regards



Reply to: