Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [proftpd]

ProFTPD: Apache-like FTP server for Unix systems

0
votes
2answers
73 views

SSH host key pair expects passphrase causing ProFTPD to fail

I need to create a docker image with ProFTPD and use it as SFTP server. Obviously I need SSH host keys for this to work but I don't want to create new keys every time I build the image. If I create ...
0
votes
0answers
7 views

Proftpd : Allow users to 'see' base directory

I am setting up an FTP server and initially jailed all users in their home directory by using: DefaultRoot ~ This behaviour causes the users to see only the contents of their home directories and ...
0
votes
0answers
13 views

Proftpd and DSA certificate for TLS

I'm trying to configure a Docker image based on an Alpine 3.8 to run a Proftpd server. Everything works well even with TLS RSA Certificate. Proftpd run well and I can upload and download files. But ...
0
votes
1answer
34 views

ProFTPd and www-data group

What I'm trying to do is create a ftp user that can update and modify files in an apache2 v2.4 (with www-data) web directory. I have a single user: UserA (names changed to protect the guilty) The ...
0
votes
0answers
14 views

Allow proftpd to write to all subfolders, but not to the root folder

I want to allow ProFTPd users to write to and create subfolders except in the root folder (/var/ftp). My configuration looks like this, but it seems like the second takes precedence so that users are ...
0
votes
1answer
9 views

Proftpd user migration login denied

I migrated ProFTPd on a bigger server including ftpd.passwd and proftpd.conf. The service is running. Unfortunately none of the old passes would work. To analyze the situation I have re-generated one ...
0
votes
1answer
36 views

cannot access proftpd installation from outside server

I have a digitalocean droplet running ubuntu 18 with Apache. I installed proftpd on there and when I log in to the droplet via ssh and run ftp myservertld or telnet myservertld 21 I can access the ...
0
votes
0answers
9 views

proftpd UserAlias not working on Centos 7 - possibly pam related

I am unable to use UserAlias on my proftpd server on Centos7. The problem appears to be related to pam.d. I've been looking at this the whole day, so I am asking for help. I have followed this on an ...
0
votes
0answers
41 views

ProFTPD cancels the full request of an FTP user and disconnects them after about 500+ concurrent delete actions

The Issue I'm facing an issue that my ProFTPD server is canceling an FTP user's request when the user tries to, for example, delete a 1000 files from the server and disconnects them from the server. ...
0
votes
0answers
56 views

ftp login ok but directory listing fails after port forwarding

I'm making a webserver and my OS is Ubuntu 18.04. My router is an AT&T 2WIRE i38HG I set up a FTP server using proftpd and gadmin-proftpd. When I used the computer's IP address (192.168.1.82) to ...
0
votes
1answer
468 views

ftp cmd not found after install proftpd

I have install ftp service with : sudo apt-get install proftpd I would try ftp connexion with ftp (I try with and without sudo) cmd, but : command not found what wrong?
0
votes
0answers
243 views

ProFTPD using mod_sftp and DefaultRoot

I'm trying to set up Ubuntu 18.04 (bionic) with ProFTPD Version 1.3.5e as a SFTP server (only) on port 2222. Filezilla (Windows) refuses to connect when the parameter "DefaultRoot ~" is in proftpd....
1
vote
0answers
132 views

Proftpd cant create folder

Wanted: Create folder and upload file with www-data:www-data user Current Try: Create folder, upload file with ftp:nogroup and filezilla Result: Even with ftp:nogroup can upload file but cant create ...
0
votes
0answers
19 views

Copy / migrate virtual users from linux FTP server to Windows FTP IIS accounts with passwords

I have a Linux Centos 6.6 server that has 60 or so virtual/FTP user accounts, each account has their own hashed password, that I want to copy to a Windows 2016 FTP server as IIS FTP user accounts. ...
0
votes
0answers
46 views

Multiple Virtual Servers FTP Error Open for Write Permission Denied

My System Info: AWS EC2 Centos 7 Virtualmin ProFTPD AWS Certification Manager WildCard I've two main virtual servers abc.com and xyz.com with some sub servers like mail and sftp. My Steps: ...
1
vote
0answers
94 views

proftpd: unknown configuration directive 'ServerIdent'

Hello, I setup proftpd on server, but when i want to start it fails with error message: fatal: unknown configuration directive 'ServerIdent' on line 78 of '/etc/proftpd.conf' It is the default ...
0
votes
1answer
190 views

ProFTP DefaultRoot setting on different ports

I have had ProFTP 1.3.2 and configured it to run for the same user on different ports with different root directories. Basically, the configuration was: <VirtualHost ftp.domain.tld> Port 1 ...
0
votes
0answers
75 views

proftpd limit to 2 subdirectories

User can access /var on FTP but I want to limit to only two subfolders: /var/www and /var/server. I tried creating two directory rules for the two subfolders and setting DefaultRoot to /var, but the ...
0
votes
1answer
198 views

How to tweak firewall to allow non secure ftp connection with Proftpd on port 21

I have Debian 8, Virtualmin, Proftpd I set up an ftp account, and I can login and download from within the same server. However from another IP, I cannot connect in non secure ftp on port 21 (I can ...
1
vote
1answer
139 views

proftpd quota does not work with sftp

Running into an issue where quota does not work with SFTP users. Regular ftp/tls users are working fine. Can the mod_quotatab_file.c authenticate SFTP users or is it limited only to regular ftp users?...
1
vote
1answer
592 views

ProFTPd server behind firewall returns internal IP address for WAN and LAN connections

I'm using ProFTPD on a Debian server behind another Debian firewall. I can connect to the ftp server from the outside. However, the virtual host that gets chosen is always 192.168.0.4 regardless of ...
3
votes
3answers
753 views

proftpd on centos 7 with proftp-mysql: users can login / upload files but they cannot retrieve files or CWD

I can't find anyone who has this weird issue: ftp users are able to upload files but they are not able to retrieve them. Please give me any clue to solve this issue. Thank you "ftpuser1" is a user ...
1
vote
0answers
68 views

virtual hosting problems with proftpd

I need a FTP server on linux that supports name-based Virtual Hosting. Based on proftpd documents, this package support name-base and ip-base virtual hosting. In real I want define two virtual ...
-1
votes
1answer
736 views

Install ProFTPD Using non-default modules mod_sftp

ProFTPD module mod_sftp I want to set up a file server with sftp and virtual account,so i use ProFTPD. system info:red hat enterprise linux 6.8-x86_64 proftpd info:proftpd-1.3.6 OpenSSL 1.0.1e-...
0
votes
1answer
277 views

Proftpd on CentOS 7

i've created a proftpd server with users managed by a mysql server. But i've a problem with my users. When one of my users is connected on the server, he can upload/download/delete files but there is ...
1
vote
1answer
132 views

Proftpd fails silently. The system says it's running, but it's not accepting connections

I have installed proftpd on a Centos 7 machine. This is the output of systemctl -l status proftpd: proftpd.service - ProFTPD FTP Server Loaded: loaded (/usr/lib/systemd/system/proftpd.service; ...
3
votes
0answers
145 views

PROFTPD accepting all public keys regardless of contents of SFTPAuthorizedUserKeys file

I've just attempted to set up ProFTPD as an SFTP server, However I'm facing some curious behavior when it comes to public key authentication. For some reason, proftpd is acepting every single key ...
0
votes
0answers
43 views

How to configure ProFTPD rejected users are denied access before entering the password?

I hope the rejected user to be entered before entering the password. How to do? Thanks in advance.
3
votes
2answers
497 views

ProFTPD: The meaning of the “TLS Verify Client” and “NoCertRequest” in the TLS configuration

I know that per default FTP is insecure, because it is not encrypted. To avoid this insecure behavior of FTP, I want to set up a TLS encryption in my ProFTPD. Pursuant to this tutorial here: https://...
0
votes
3answers
579 views

proftp server gives “No such file or directory” upon ;login even though directory exists

I setup a new proftp instance on a new and updated Debian Jessie 8.7 following https://www.howtoforge.com/tutorial/proftpd-installation-on-debian-and-ubuntu/ but the new user gets disconnected again (...
1
vote
1answer
559 views

ip_conntrack_ftp inside LXC

ProFTPd instance on a LXC container behind NAT LXC container is using bridged networking PassivePorts 60000 61000 has been defined in proftpd.conf nf_nat_ftp and nf_conntrack_ftp loaded on the host ...
1
vote
0answers
54 views

Proftpd mod_sql homedir not working

I just set up my ftp server with proftpd and mod_sql. Authentication seemed to work fine until now. I can still log in with the users in the database but the chroot doesnt work anymore. Instead of ...
0
votes
1answer
66 views

cannot connect to proftpd on debain

apt-get install proftpd adduser alex adduser alex root chown -R alex:root /var/www/ nano /etc/proftpd/proftpd.conf I add: DefaultRoot /var/www alex /etc/init.d/proftpd restart Everything seems ...
2
votes
1answer
963 views

ProFTPd: how to show virtual user name in listings?

I'm using ProFTPd 1.3.5a (btw I get the same behavior on an older 1.3.4d) with a pretty common virtual users setup for a web server. In plain words, ProFTPd is running with apache's UID/GID and has ...
0
votes
2answers
4k views

ProFTPd won't start - proftpd.serviceJob for proftpd.service failed

I'm done - I don't get ProFTPd to start... I tried everything. If I start proftpd with /etc/init.d/proftpd start I get the following: [....] Starting proftpd (via systemctl): proftpd.serviceJob ...
0
votes
1answer
207 views

Proftpd connexion limitation rule by user

We are currently defining in the Global scope of our ProFTPd server the following lines: # Allow max 3 unauthenticated connections by IP MaxConnectionsPerHost 3 "Sorry, you may not connect more than (...
0
votes
1answer
172 views

Proftpd with mariadb (mysql) backend unable to upload

I have proftpd running with a mariadb (mysql) backend. I have created a user midas in the ftp database. At the moment of first login, proftpd (running as user proftpd and group proftpd) creates a ...
0
votes
1answer
1k views

How to change home directory for existing virtual ProFTPD user?

I have my AuthUserFile located at /etc/proftpd/proftpd.passwd. DefaultRoot is ~. This file currently lists a single user (username, password hash, home directory). How do I change a home directory for ...
1
vote
1answer
530 views

When connecting to PROFTPD via SFTP, mod_wrap is not being invoked

We are using PROFTPD (version 1.3.3e) and have just noticed that if we connect to the server via FTP we can see that mod_wrap is being invoked: From proftpd.log May 27 10:46:16 li46 proftpd[10592] ...
0
votes
1answer
3k views

proFTPD unable to connect after update ECONNREFUSED

I am working on Debian 8 - ran a series of automated system updates and now I am unable to connect to my local server running proFTPD. I have made no changes to the client attempting to connect to ...
0
votes
0answers
520 views

Open ports for Passive FTPS on Amazon EC2?

I have installed ProFTPd on an Amazon EC2 running Amazon Linux. I have enabled SSL (FTPS) on for ProFTPd and set passive ports in proftpd.conf: port 21 <IfModule mod_tls....
1
vote
1answer
223 views

AWStats and proftpd | AWStats never updates

AWStats never updates when parsing my proftpd log file. Here's what I get : [root@localhost ~]# /usr/share/awstats/www/awstats.pl -config=ftpcnam:2121 -update Searching new records from ...
0
votes
2answers
79 views

I need to set up a sftp server, that could use different keys, and use different directories for the same login, depending on the ip used

I got a problem, that I cannot solve myself. I tried to google it, but no satiscactory solution that i could find. I have a server that is available with let's say 3 different IP addresses (A,B,C), ...
1
vote
0answers
30 views

Determine server damage - File injected possibly through ProFTPD [duplicate]

I just found a file at the /tmp/ directory named .<?php passthru($_GET['cmd']);echo 'm3rg3';?> Owner and GroupOwner are "proftpd" and "nogroup", respectively, as follows: -rw-r--r-- 1 proftpd ...
0
votes
0answers
24 views

ECONNREFUSED - Connection refused by server PROFTPD [duplicate]

I have a problem with my server. I installed proftpd in my server, and on filezilla its work. But sometime i have this following error ECONNREFUSED - Connection refused by server So, i have to go ...
0
votes
1answer
805 views

Proftpd different chroot for specific ldap group

I am authenticating a ProFTPD (with mod_sftp) instance with a LDAP server. I want to have the following setup: A chroot for all users to /home/ftp. (This works). Now I would like to chroot specific ...
11
votes
2answers
2k views

SFTP server: better to use SSH internal sftp subsystem or ProFTPD plugin?

I've been tasked to install a new SFTP server. Per-se, this is a very simple operation: simply using the internal-sftp role of the ubiquitous SSH service (with chrooting) is sufficient to have a ...
2
votes
1answer
2k views

ProFTPd timeout on LIST

Recently I've migrated a centOS 5 server to 7. But since then connection to FTP through FileZilla doesn't work unless I put FileZilla on FTP Plain Connection. TLS doesn't work when getting the folder ...
0
votes
1answer
59 views

profttp 1.3.5b injecting extra characters in wordpress files when uploading

I been trying to find out why when I upload a brand new wordpress install using ProFTPd 1.3.5b the files get injected with extra characters that aren't part of the file. It only happens to /wp-...
1
vote
1answer
3k views

ProFTPd chdir permission denied issue

This should be dead simple but I can't figure it out. I have a web app (Magento) in /srv/www/magento.com/public_html The filesystem permissions are standard Magento permissions http://devdocs....