Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
31 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 ...
user avatar
1 vote
0 answers
21 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 ...
user avatar
  • 11
-1 votes
1 answer
38 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 ...
user avatar
  • 131
0 votes
0 answers
31 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 ...
user avatar
0 votes
2 answers
58 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/...
user avatar
0 votes
1 answer
23 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=...
user avatar
0 votes
0 answers
84 views

vsftpd : permission denied

Running on debian10 My website : /home/mysite.com drwxr-xr-x 16 www-data www-data I added a new user with adduser alex Content of /etc/vsftpd.conf nano /etc/vsftpd.conf listen=YES listen_ipv6=NO ...
user avatar
  • 797
0 votes
1 answer
17 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 ...
user avatar
  • 103
0 votes
0 answers
22 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....
user avatar
0 votes
0 answers
16 views

Can I configure VSFTPD with PKCS11?

I want to perform TLS authentication for my FTPS server using a PKCS11 certificate store. Is this possible with VSFTPD?
user avatar
0 votes
0 answers
19 views

vsFTP not following linux groups for writing

vsFTP seems to not obey Linux (Ubuntu 16) groups for write permission. I have 2 user accounts: "ftp_user", "ftpuser". Both are in "ftp" group. Both accounts are chroot, ...
user avatar
  • 101
0 votes
1 answer
190 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 ...
user avatar
0 votes
0 answers
64 views

vsftpd - Config for exactly one virtual user

I cannot get vsftpd to work correctly - grateful for any help. Ultimate goal: I would like to have one virtual user that can only upload files to location "/srv/ftp/scanner" . This user ...
user avatar
0 votes
1 answer
752 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 ...
user avatar
  • 31
0 votes
0 answers
73 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: #%...
user avatar
0 votes
1 answer
110 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 ...
user avatar
0 votes
0 answers
77 views

vsftpd chroot not working even with local_root set and chroot_local_user=YES

I want my ftp server to only show folder /media/DOC to the only client, but I'm always in /home/myUsername when I login and I can see and browse / and /media/DOC. I want to see only /media/DOC as the ...
user avatar
0 votes
0 answers
69 views

VSFTPD not work in delphi application, but fine in Filezilla

I'm using UBUNTU SERVER 20.04 in Oracle Cloud with VSFTP 3.0.3. I can connetct to the FTP server ealisy using filezilla. I can navigate through ftp directories to upload and download files. But my ...
user avatar
0 votes
0 answers
13 views

VSFTP + Ubuntu + Grant access to everyone

I would like to know how I should configure my virtual ubuntu vagrant machine so that VSFTPD allows everything for the user admin with the password admin. Or grant access to everyone connecting to ...
user avatar
  • 1
0 votes
0 answers
41 views

VSFTPD doesn't appear to be reading config file

Alright, I'm just going to keep it brief since I don't have time. In short, I want VSFTPD version 3.0.5 to not do /home/username/, but rather /ftpdata/user/. Additionally, all attempted changes doesn'...
user avatar
0 votes
0 answers
26 views

Ubuntu 18 FTP user can't be restricted to folder using VSFTPD

I have an Ubuntu 18.04 server and I installed vsftpd. I created a new FTP user following this tutorial: https://devanswers.co/installing-ftp-server-vsftpd-ubuntu-18-04/ I want to lock the user to the ...
user avatar
  • 151
0 votes
0 answers
172 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: ...
user avatar
  • 1
0 votes
0 answers
68 views

vsftpd can not interact over VPN with iptables

I'm attempting to setup a file tranfer from 2 internal networks over VPN. The topology below: Network Topo In virtual ftp server, I config iptables to NAT ftp ports with rules: iptables rules From ftp ...
user avatar
0 votes
0 answers
169 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 ...
user avatar
  • 159
0 votes
0 answers
23 views

VSFTPD-Implicit SSL-PROT P

Is it possible to set the default "PROT P" statement in vsftpd to use implicit FTPS? I'm using the sim module, but it doesn't allow me to send this command. However, vsftpd requires it, or ...
user avatar
0 votes
1 answer
4k 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 ...
user avatar
  • 101
1 vote
0 answers
679 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 ...
user avatar
  • 11
1 vote
1 answer
982 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 ...
user avatar
  • 13
0 votes
1 answer
160 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 ...
user avatar
  • 1
0 votes
1 answer
760 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 | ...
user avatar
-1 votes
1 answer
323 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 ...
user avatar
0 votes
0 answers
202 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
40 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 ...
user avatar
0 votes
0 answers
119 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: ...
user avatar
0 votes
1 answer
549 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 ...
user avatar
0 votes
0 answers
511 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=...
user avatar
1 vote
1 answer
5k 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 ...
user avatar
0 votes
1 answer
832 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. ...
user avatar
0 votes
0 answers
905 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 ...
user avatar
0 votes
1 answer
1k 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 ...
user avatar
0 votes
1 answer
1k 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: &...
user avatar
  • 61
0 votes
1 answer
571 views

Can't make vsftpd on kubernetes (minikube) with load balancer AND ssl work

CONTEXT School project : to host several services on a kubernetes node minikube including a ftps server on port 21 using a load balancer. School ask us to make our own images based on Alpine. What I ...
user avatar
  • 101
0 votes
1 answer
2k views

VSFTPD: The data connection could not be established: ETIMEDOUT - Connection attempt timed out

On July 7, our web server was dead. We restarted it and found that it received a Kernel 41 error, but this is not our problem right now. We have three machines on that server, one with Windows (and ...
user avatar
0 votes
0 answers
71 views

How to list content of a directory (vsftpd)?

This question could be a follow-up of this question. Where the OP was asking about how to list directory contents using passive mode and specific ports. I wonder how do I do it in active mode using ...
user avatar
  • 101
0 votes
0 answers
253 views

Client machine unable to connect to the local ftp repository server. Writes an error: Failed to synchronize cache for repo '***', ignoring this repo

Please help me to understand where I was wrong, because I've read a lot of articles also I've seen lot's of Youtube videos, but all the time in the end I've got the same error result. So, on my ...
user avatar
0 votes
1 answer
102 views

FTP connection stalls afert 6/8 minutes, afterwards remote IP is unreachable by any device within my LAN

Remote machine: a VPS running Debian 10; vsftp as ftp server. Local machine: a Fedora 30 desktop, within my home LAN. Local router: a Technicolor AGHP, on lease from my telcom provider. I am trying ...
user avatar
  • 101
1 vote
1 answer
69 views

Inverse Name Search by UID (CentOS 8) - Retrieves last created with same UID

I am working with CentOS 8 and I have a problem with UIDs and User Names. I have installed VestaCP to manage my websites. The user by the name of "user123" and UID 1007 is the owner of all the ...
user avatar
  • 61
0 votes
1 answer
2k views

How to analyse vsftpd log files with goaccess

I'm trying to use goaccess log analysis tool, to analyse vsftpd FTP server's logs. I'm aware that being a web server log analyser, goaccess is not the best tool for this. That being said, it's ...
user avatar
  • 3,581
0 votes
1 answer
2k views

Ftps server doesn't work properly using kubernetes [closed]

i have a problem with ftps-filezilla and Kubernetes for weeks. CONTEXT : I have a school project with Kubernetes and ftps. I need to create a ftps server in kubernetes in the port 21, and it needs ...
user avatar
  • 1
1 vote
1 answer
219 views

vsftp upload to permission 777 by default

When I upload something using FTP on my ubuntu server with VSFTP it is defaulting to permission 600, how can I make it go to 777?
user avatar
  • 13

1
2 3 4 5
8