Questions tagged [vsftpd]

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

"vsftpd" stands for "Very Secure FTP Daemon", and focuses on speed, stability, and security. For more information on vsftpd, including releases and updates, see https://security.appspot.com/vsftpd.html.

367 questions
4
votes
1 answer

Automatically change to subfolder in chroot jail on login

I'm setting up an FTP server to replace an old windows server install. I'm using vsftpd on Ubuntu 16.04. There are multiple users (automated test systems) external to the company, and we want to make the change transparent - no changes required to…
SiHa
  • 148
  • 6
4
votes
2 answers

Passive FTP not working properly

I've been having a problem with configuring vsftpd. I have managed to get active FTPS working fine, but passive is being stubborn. I think the problem is with how iptables is managing ports. When I try to use passive ftps on filezilla, everything…
Mitchell
  • 141
  • 1
  • 5
4
votes
2 answers

vsftpd local users error "Incorrect login"

I want to integrate an Android app with a FTP server, in this case vsftpd (My computer is running LinuxMint 18, kernel 4.4.8). Anonymous users work, my user works (darijan), but I made another user (ftpuser1), set root directory to /srv/ftp/ftpuser1…
darijan2002
  • 143
  • 1
  • 5
4
votes
4 answers

How to enable TLS 1.1 **minimum** on vsftpd

I'm trying to secure my infrastructure to meet the PCI-DSS standard using securitymetrics.com. The standard mandates the use of TLS 1.1 minimum (with a CBC cipher). TLS 1.0 is not allowed. While securing ftp (vsftpd), I have disabled sslv2 and…
adminz
  • 397
  • 2
  • 6
  • 20
4
votes
2 answers

vsftpd - The data connection could not be established: EHOSTUNREACH - No route to host

I have a VPS running vsftpd v3.0.2 on CentOS 6.4. When I try to connect to my ftp server I get the error: The data connection could not be established: EHOSTUNREACH - No route to host The console of the attempt of connection: Status: Connecting to…
Karl Viiburg
  • 185
  • 1
  • 3
  • 7
4
votes
3 answers

VSFTP Config to send users to specific folders

I have approximately 30 users on a box. Those users are in overlapping groups(about 6-10 groups). I need them to be able to land in a specific folder based on their group assignment when they FTP in. I.e., group1 -> /tmp/site1 group2 ->…
Publiccert
  • 1,112
  • 1
  • 8
  • 22
4
votes
3 answers

Using FTPS (FTP over explicit TLS/SSL) with active ftp?

I am using vsftpd with active ftp. I have module "ip_conntrack_ftp" (in /etc/sysconfig/iptables-config) on and port 21 is open. Connecting with FTP works, but FTPS doesn't. I can login but get no listing: 227 Entering Passive Mode LIST -a When…
user74952
  • 71
  • 1
  • 1
  • 7
4
votes
1 answer

vsftpd with pam_winbind.so

I'm trying to setup vsftpd to use logins from our domain. I want the ftp users to be able to login using their active directory username/password and have be able to have full access to /media/storage/ftp/username. I setup pptp using winbind and it…
David
  • 41
  • 3
4
votes
1 answer

vsFTPd and iptables - how to configure them in CentOS 5.5?

I've installed vsFTPd in CentOS 5.5, on two servers, and added this rule to their iptables: -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 21 -j ACCEPT Looks like this is not enough, since when I'm trying to upload a file from…
yegor256
  • 1,836
  • 3
  • 16
  • 30
4
votes
1 answer

curl FTPS with client certificate to a vsftpd

I'd like to authenticate FTP clients either via username+password or a client certificate. Only FTPS is allowed. User/password works, but while testing with curl (I don't have another option) and a client certificate, I need to pass a user. Isn't it…
weeheavy
  • 4,089
  • 1
  • 28
  • 41
4
votes
3 answers

How can I tell SELinux to give vsftpd write access in a specific directory?

I've set up vsftpd on my Fedora 12 server, and I'd like to have the following configuration. Each user should have access to: his home directory (/home/USER); the web directory I created for him (/web/USER). To achieve this, I first configured…
Alpha Hydrae
  • 163
  • 2
  • 2
  • 5
4
votes
1 answer

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 password and I cannot seem to be able to find or add a…
Hypothesis
  • 153
  • 1
  • 1
  • 5
3
votes
1 answer

vsftpd ssl (tls) fatal: protocol version

I'm trying to configure vsftpd. As for ftp it works pretty well, but for ssl it's causing errors and actually I cant connect to ftp by using ssl. Here's WinSCP log for connection: Server asks for authentication with a client certificate. Using…
Zekfad
  • 31
  • 1
  • 4
3
votes
2 answers

What SFTP server implementations support check-file extension

I want to synchronise directories on the local host and a remote server via SFTP, using paramiko.sftp_file.SFTPFile.check() in Python to calculate MD5 checksums on the remote server. According to http://docs.paramiko.org/en/2.1/api/sftp.html and…
Huw Walters
  • 141
  • 1
  • 4
3
votes
1 answer

vsftpd login info issue

The server is ubuntu 16.04. I can login vsftpd as the following: ftp> open MY_FTP_IP Connected to MY_FTP_IP. 220 (vsFTPd 3.0.3) Name (MY_FTP_IP:ACCOUNT_NAME): someftpuser The problem is that ACCOUNT_NAME is my sudoers's name, and I don't want the…
cwhsu
  • 163
  • 4