I'm trying to connect to the server running vsftpd:
$ sudo systemctl status vsftpd
● vsftpd.service - vsftpd FTP server
Loaded: loaded (/lib/systemd/system/vsftpd.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2022-11-24 10:48:47 UTC; 2s ago
Process: 6135 ExecStartPre=/bin/mkdir -p /var/run/vsftpd/empty (code=exited, status=0/SUCCESS)
Main PID: 6136 (vsftpd)
Tasks: 1 (limit: 21449)
Memory: 804.0K
CPU: 4ms
CGroup: /system.slice/vsftpd.service
└─6136 /usr/sbin/vsftpd /etc/vsftpd.conf
my current config /etc/vsftpd/vsftpd.conf
is as follows:
$ cat /etc/vsftpd.conf
listen=YES
listen_ipv6=NO
anonymous_enable=NO
local_enable=YES
write_enable=YES
force_dot_files=YES
local_umask=022
dirmessage_enable=YES
use_localtime=YES
xferlog_enable=YES
connect_from_port_20=NO
utf8_filesystem=YES
require_ssl_reuse=NO
#rsa_cert_file=/etc/ssl/private/vsftpd.pem
#rsa_private_key_file=/etc/ssl/private/vsftpd.pem
ssl_enable=NO
pam_service_name=vsftpd
secure_chroot_dir=/var/run/vsftpd/empty
#ascii_upload_enable=YES
#ascii_download_enable=YES
#ftpd_banner=Welcome to blah FTP service.
#############################################
#Uncomment these lines to enable FXP support#
#############################################
#pasv_promiscuous=YES
#port_promiscuous=YES
###################
#Set a custom port#
###################
#listen_port=
when I connect sudo curlftpfs [email protected] /path/to/dir
I get the error message: Error connecting to ftp: Recv failure: Connection reset by peer
Is there a base working conf file I could use?