Questions tagged [vsftpd]

`vsftpd` is a fast, stable GPL-licensed FTP server for Unix/Linux systems.

Filter by
Sorted by
Tagged with
0 votes
1 answer
157 views

Possible explanation of how SFTP can be 4 times faster than FTPS?

Question iperf3 reports 942Mbps SFTP 1GB transfer at 94~100 MB/s Explicit FTPS 1GB transfer at 19~23 MB/s Both CPU / IO load is under 20% on htop For nearly 99% posts I find in google says that FTP -...
jupiterbjy's user avatar
0 votes
0 answers
16 views

VSFTPD not working outside of my VPS

I'm trying to run vsftpd to restrict a user to deposit files only in one folder I follow the guide here : https://www.digitalocean.com/community/tutorials/how-to-set-up-vsftpd-for-a-user-s-directory-...
Tikroz's user avatar
  • 1
4 votes
1 answer
219 views

vsftpd not honouring userlist_enabled

I have a vsftp server with this configuration running in ubuntu 22.04: listen=YES listen_ipv6=NO anonymous_enable=NO local_enable=YES write_enable=YES dirmessage_enable=YES use_localtime=YES ...
Yván Ecarri's user avatar
0 votes
0 answers
55 views

VSFTPD - Issue with chroot and s3fs

I have a small issue with VSFTPD, and I'm not able to resolve it yet, so I'm coming here to get your tips ! The user has a ftp directory in its home, which is a mount point through s3fs, to access a ...
Arthur Deslauriers's user avatar
0 votes
0 answers
88 views

Linux Debian ACL, is default mask overriden by something in FTP?

I have an Linux Debain 10 server running an web project. The project (parent) folder is as follows: ls -la: drwxrwxr--+ 7 some_user some_group 4096 Jul 21 11:01 . getfacl: # file: . # owner: ...
Jiří Žák's user avatar
0 votes
0 answers
66 views

Why when using the same FTP username and password to login into FTP server, I can upload files and my client can't?

I created FTP server using vsftpd package on Ubuntu server on AWS EC2. I gave the user local_umask=022. I login using the FTP username password, I'm able to upload and delete files. I have tried using ...
Chen Li Yong's user avatar
0 votes
0 answers
250 views

Error while installing VSFTPD in passive mode - 500 OOPS: could not bind listening IPv4 socket

I am trying to install and connect to FTPS server (passive mode) locally. I have read similar topics in this community, but still can't fix the problem or find an error in the vsftpd.conf. Firewall is ...
ghostone's user avatar
0 votes
0 answers
67 views

vsftpd implicit ftp server

I'm trying to set up ftp server with ftps connection. I need it to test my code that uses bunch other ftp servers who use implicit ssl. So far I didn't manage to set it up. Can't find much useful info ...
barmaxon's user avatar
0 votes
0 answers
177 views

Multiple users chrooted to single directory when using SFTP

Heyho, so, while experimenting with setting up my own webserver on a Raspberry Pi, I've come up with something that should be quite simple in my opinion, but seems to be quite hard (or I can't find ...
Solus Bellator's user avatar
0 votes
0 answers
127 views

vsftpd with MySQL 8 - login not working

I try to set up vsftpd using MySQL database for login users via pam.d I have this config in /etc/pam.d/vsftpd: # Standard behaviour for ftpd(8). auth required pam_listfile.so item=user sense=...
netdjw's user avatar
  • 121
1 vote
1 answer
59 views

FTP server for content distribution

I need to set up an FTP server for distributing various versions of a software package to a number of user accounts. To avoid copying the files to each user's ftp home folder, I would like to set up a ...
stefanu's user avatar
  • 113
1 vote
1 answer
435 views

Redirect active FTP traffic to another server using iptables

Network Scheme - IP addresses are fictitious Firewall SO: Centos 6 I recently enabled two-factor authentication, using Google Authenticator, and with that transfers via SCP for some users were ...
euduca's user avatar
  • 11
0 votes
0 answers
255 views

vsftpd environment variable user_config_dir not working

The vsftpd manual describe how to deal with multiple users on the FTP server via an environment variable called user_config_dir :- user_config_dir This powerful option allows the override of any ...
Trunk's user avatar
  • 101
0 votes
0 answers
1k views

vsFTPd 3.0.5, 331 Please specify the password. Password: 530 Login incorrect. Login failed. Centos Stream 9

On Centos Stream 9 when I try to connect via FTP it says vsFTPd 3.0.5, 331 Please specify the password. Password: 530 Login incorrect. Login failed. The username /password are correct I treid many ...
Paul's user avatar
  • 1
-1 votes
1 answer
525 views

Error connecting to ftp: Recv failure: Connection reset by peer

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: ...
Anton A's user avatar
  • 19
1 vote
1 answer
151 views

vsftpd interrupting uploas with error 451

From sometime vsftpd crashes an upload of a client almost everyday. Client uploads usually 4 big files (> 1 GB) and a bunch of smaller ones. At least one of these files, usually a big one, is ...
lunadir's user avatar
  • 111
0 votes
1 answer
1k views

Can't chroot users correctly with vsftpd

I used this tutorial to install vsftp. Everything seems to work fine except for two things: Even though I set local_root=/home/$USER/ftp the default location when I use any ftp-client is /home/$USER. ...
MaestroMaus's user avatar
0 votes
1 answer
3k views

VSFTPD does not work with SSL

I am trying to enable ssl on my vsftpd server, it works without SSL, but when I try to install this certificate it gives me the following error: Process: 1314 ExecStart=/usr/sbin/vsftpd /etc/vsftpd....
YaRmgl's user avatar
  • 113
0 votes
0 answers
634 views

How to configure vsftpd to set correct permissions, group and owner (Apache Webserver) of newly created files?

I installed vsftpd and I can login with the new user sftp to the server. But if I create a new file via FileZilla the new file has got 755 permission and its group is not www-data (33). Screenshot ...
kanka.dev's user avatar
0 votes
1 answer
727 views

file persmissions for a group on FTP server (vsftp)

I've set up an FTPS server on an EC2 linux machine using VSFTPD, I changed the file_open_mode and local_umask in vsftpd.conf file to local_umask=0007 file_open_mode=0777 This indeed give the rwx ...
 Annis99's user avatar
0 votes
1 answer
578 views

VSFTPD default permissions for new files vs new directories

I'm running vsftpd and have a specific question: The file_open_mode and local_umask options let me configure, what permissions a newly created file/folder should have. The problem: I want 0660 for new ...
Florian Metzger-Noel's user avatar
1 vote
0 answers
459 views

How to hide Folders and files outside ftp user home

I have same problem like in this topic https://serverfault.com/questions/576143/how-to-hide-folders-for-ftp-user-jailed-to-user-home but this solutions not works for me. My steps: added user useradd ...
NoAd's user avatar
  • 11
-1 votes
1 answer
902 views

SFTP client connection fails using hostname

I have configured a debian server, hosting a website, for FTPS access using vsftpd. Port 22, SSL enabled. When testing the connection with FileZilla, I successfully connect if I put the server's IP ...
perissf's user avatar
  • 151
0 votes
0 answers
851 views

Can't ftp on active mode from ec2 instance (as a client)

We need to ftp on "active mode" using Ubuntu ec2 instance as a client on a remote not ec2 ftp server. Unfortunately we can't use sftp functionality. And we are able to connect using passive ...
MohammedSimba's user avatar
0 votes
2 answers
660 views

fail2ban not banning "matched" IPs from vsftp log

Using fail2ban to secure the vsftp login: jail.local [vsftpd] enabled = true bantime = 600 findtime = 5000 maxretry = 1 port = ftp,ftp-data action = iptables-multiport logpath = /var/log/vsftpd/...
mathewCorn's user avatar
0 votes
1 answer
111 views

Allow FTP for user1 and FTPS for user2 in ubuntu

Is this possible to allow FTP protocol for user1 and use FTPS for user2 in Ubuntu 18.04? I'm using vsftpd with the following configuration listen=YES anonymous_enable=NO local_enable=YES write_enable=...
Cool Breeze's user avatar
0 votes
1 answer
182 views

symlink and mounting ftp host on another machine

So I have machine 1 that has vsftpd installed and machine 2 that needs to mount distant ftp folder. However machine 2 also needs to access symlink, which is what fails. No chroot as only lan access is ...
Marc's user avatar
  • 103
0 votes
0 answers
211 views

Stop user to download file over SFTP

I have SFTP server and dont want to provide get (download) permission to the few users. Is it possible to disable get command for few users? PFB my vsftpd.conf [root@kbdc-sftp-01 vsftpd]# cat vsftpd....
Krishna Yerudkar's user avatar
0 votes
1 answer
997 views

Can't Install VSFTPD on CentOS 7 - "No package vsftpd available"

Hi i want to install VSFTPD on my CentOS 7 server but it could not find the package and says "No package vsftpd available". Do i need to add another repo or do you know how to figure out ...
Abdullah Taşcı's user avatar
0 votes
1 answer
5k views

Centos7 cannot connect to FTP server , 200 PORT command successful. Consider using PASV. 425 Failed to establish connection

i'm trying to connect linux ftp server in window command prompt it works fine when ftp port is default (20, 21) it's not working after i changed the default port of FTP , FTP-DATA yes i did checked ...
Nick's user avatar
  • 31
1 vote
0 answers
359 views

Modern alternative for pam_userdb (for use with vsftpd)

Quite some years ago, I setup a vsftpd server with virtual users, according to some howtos (still) to be found on the internet, using pam_userdb. Like this: A file called /etc/pam.d/vsftpd.virtual: #%...
Tobias Leupold's user avatar
0 votes
1 answer
1k views

Can the same sever accept both Explicit and Implicit FTPS?

I am using VSFTPD on an Ubuntu server. I have 2 clients who want to connect to this FTP server, one of them uses FTPS with Explicit Authentication and the other client uses FTPS with implicit ...
Hooman Bahreini's user avatar
0 votes
0 answers
835 views

VSFTPD: 500 OOPS: unrecognised variable in config file: local_root

I have a problem with vsftpd configuration. My vsftpd version is 3.0.3 When I'm trying add local_root variable to serwer configuration vsftpd stops working. How to fix this problem? My vsftpd config: ...
Michal's user avatar
  • 1
0 votes
0 answers
469 views

Clustered vsftpd service stops working with no error log

We've got a pacemaker cluster of vsftpd server made of two nodes in a active/pasive scheme. We have experienced the following behaviour. vsftpd.log stops recording activity while xferlog keeps ...
cape's user avatar
  • 169
0 votes
1 answer
16k views

sftp server throws Permission denied (publickey)

I'm setting up WordPress site on Apache server with SFTP enabled. After configuring all the necessary in /etc/vsftpd.conf I generated ssh keys with ssh-keygen -t rsa which produced private and public ...
Mark's user avatar
  • 101
1 vote
0 answers
2k views

net.netfilter.nf_conntrack_helper=1 a security risk?

For a public file archive with an anonymous ftp server (vsftpd) I need to restore passive ftp, which ceased to work after upgrading Ubuntu 16 LTS to 18 LTS some time ago (with 20 to follow). Previous ...
AliasX1's user avatar
  • 11
1 vote
1 answer
4k views

Client not able to connect to FTP server (only filezilla works)

I have created a FTP Server on a Amazon-EC2 instance following this DigitalOcean Tutorial, I can login normally and that's the only part that works remotely using the shell(connecting from server to ...
Tox46's user avatar
  • 13
0 votes
1 answer
715 views

ftp over tls refused even with all ports properly forwarded

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 chroot_local_user=YES ...
kuz's user avatar
  • 1
0 votes
1 answer
3k views

Active mode vsftpd configuration

i have a question about vsftp please ! if i use active mode for my ftp server , should i see that my vsftp server is listening on 21 and 20 port when i use netstat ?? when i test sudo netstat -lnp | ...
Rayen Ben Said's user avatar
-1 votes
1 answer
881 views

vsftp work in terminal but not on filezilla and browser

I work under in a docker image, under a VPS! i have install vsftp in my ubuntu 20.04! at the beginning I tested ftp 127.0.0.1 in the command line and everything goes well I created a user and I tested ...
Rayen Ben Said's user avatar
0 votes
0 answers
618 views

vsftpd says : 530 Login incorrect

i am trying to connect a ftp user it is showing [root@host etc]# lftp testuser@::: Password: lftp testuser@:::~> ls ls: Login failed: 530 Login incorrect. lftp testuser@:::~> and my vsftpd....
user avatar
1 vote
0 answers
112 views

Allow ftp user to read and write his home, except some subfolders

I have vsftp installed on my webserver and I need to "jail" a specific account (say "newdev") to a folder (/var/www/[site.com]) so that account cannot read or write outside of that ...
Mattia Galati's user avatar
0 votes
0 answers
687 views

Trying to understand vsftpd log file

I'm currently learning Linux and using FTP however I can't make sense of the log file any help would be appreciated. root@ubuntu:/var/log# cat vsftpd.log Mon Jan 18 06:39:48 2021 [pid 2] CONNECT: ...
James Highland's user avatar
1 vote
1 answer
3k views

Vsftpd : anonymous configuration for full access

I need to deploy an FTP server for intranet usages (anonymous only) and I've selected Vsftpd who seems to be easy to configure. Here's my configuration : listen=YES local_enable=NO write_enable=YES ...
codingNoob's user avatar
0 votes
1 answer
956 views

vsftpd Authenticating FTP server against Windows AD server not working Ubuntu

I'm trying to authenticate vsftpd on an Ubuntu server against my Active directory server. I have joined the domain successfully following this article: https://nerdonthestreet.com/wiki?find=...
random-xyz's user avatar
4 votes
1 answer
16k views

How to add username or change password in vsftpd in Ubuntu 16.04?

I have gotten access to a server which is configured by another person and I am now at the point where I am not able to access through ftp due to the fact that I do not have the ftp username and ...
Hypothesis's user avatar
0 votes
1 answer
2k views

Can't connect to Vsftpd Server - Passive reply with unroutable address

I have installed Vsftpd Server listening on port 21 in ubuntu server. I've forwarded a port in my router to forward external port 8500 to internal port 21 where my vsftpd server is listening on. ...
Malanie's user avatar
0 votes
0 answers
1k views

VSFTPD SSL Error Ubuntu Server

Hi i create an vsftpd server in Ubuntu Server 20.04.1 LTS and i have a error, this is my confing file, the error and the comanand who i created the ssl keys. (sorry for my english, its so bad) My ...
MrFull12's user avatar
0 votes
1 answer
3k views

VSFTPD: set a user's default directory to NOT their chroot directory

I have a VSFTPD setup in which users are chrooted to their home directories. Standard stuff. But this requires all of their home directories to be unwritable to them (to avoid security issues.) No ...
Eliezer Miron's user avatar
1 vote
1 answer
4k views

How to fix vsftpd error: 500 OOPS: cannot change directory

I am trying to setup vsftpd for anonymous-only, read-only access on my Ubuntu 20.04 VM. Home directory is /home/ftp/filebase. When I try to login, I get the error 500 OOPS: cannot change directory: &...
i3i5i7's user avatar
  • 81

1
2 3 4 5
8