Results 1 to 3 of 3
I just installed ProFTPd on Debian Lenny 5.0.1, and when trying to connect to it using Filezilla from windows, it goes 90% through the login process, and then says login ...
- 04-27-2009 #1Just Joined!
- Join Date
- Sep 2006
- Posts
- 3
proftpd setup on new debian install
I just installed ProFTPd on Debian Lenny 5.0.1, and when trying to connect to it using Filezilla from windows, it goes 90% through the login process, and then says login incorrect...its not sending anything to the log files...
Here is my config:
#
# Includes required DSO modules. This is mandatory in proftpd 1.3
#
Include /etc/proftpd/modules.conf
ServerType inetd
DefaultServer on
Umask 022
DefaultAddress 182.168.1.45
ServerName "ppmftp"
ServerIdent on "FTP/SSH Server"
ServerAdmin adminemail
IdentLookups off
UseReverseDNS off
Port 21
PassivePorts 49152 65534
#MasqueradeAddress None
TimesGMT off
MaxInstances 9000
MaxLoginAttempts 3
TimeoutLogin 300
TimeoutNoTransfer 120
TimeoutIdle 120
DisplayLogin welcome.msg
DisplayChdir .message
User nobody
Group nobody
DirFakeUser off nobody
DirFakeGroup off nobody
DefaultTransferMode binary
AllowForeignAddress off
AllowRetrieveRestart on
AllowStoreRestart on
DeleteAbortedStores on
TransferRate RETR 2048
TransferRate STOR 2048
TransferRate STOU 2048
TransferRate APPE 2048
SystemLog /var/log/secure
RequireValidShell on
DefaultRoot ~
<IfModule mod_tls.c>
TLSEngine off
TLSRequired off
TLSVerifyClient off
TLSProtocol SSLv23 , TLSv1
TLSLog /var/log/proftpd_tls.log
TLSRSACertificateFile /etc/gadmin-proftpd/certs/cert.pem
TLSRSACertificateKeyFile /etc/gadmin-proftpd/certs/key.pem
TLSCACertificateFile /etc/gadmin-proftpd/certs/cacert.pem
TLSRenegotiate required off
</IfModule>
<IfModule mod_ratio.c>
Ratios off
SaveRatios off
RatioFile "/restricted/proftpd_ratios"
RatioTempFile "/restricted/proftpd_ratios_temp"
CwdRatioMsg "Please upload first!"
FileRatioErrMsg "FileRatio limit exceeded, upload something first..."
ByteRatioErrMsg "ByteRatio limit exceeded, upload something first..."
LeechRatioMsg "Your ratio is unlimited."
</IfModule>
<Limit LOGIN>
AllowALL
</Limit>
- 04-28-2009 #2Linux User
- Join Date
- Feb 2006
- Posts
- 484
You need to create at least a <global> section. Where you define the parameters. You must set up a directory where the ftp stores files, must create a user who can log in to the server and you need to set up this.
<limit> directive only usable in <global> and <anonymous> sections.
But you can find many tutorial on the net or you can install the proftpd-doc package , in the second case you will find it in /usr/share/doc/proftpd.
- 04-28-2009 #3Just Joined!
- Join Date
- Sep 2006
- Posts
- 3
This is going to be setup for a multi-user setup. Almost all users will be setup as chroot/jailed. Documentation is good...but need not always helpful.


Reply With Quote
