Author Topic: FTP user can't login root user can  (Read 14843 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
FTP user can't login root user can
« on: February 13, 2018, 12:32:13 PM »
what can cause this problem root user can login a user cant login  :(

i have tested it with filezilla and winscp

port forwarding for 30000-50000 passiveports


and a other thing how to force sftp to all users

Re: FTP user can't login root user can
« Reply #1 on: February 13, 2018, 01:41:49 PM »
edit "/etc/ssh/sshd_config"

Specify users/usergroups according to your need

Code: [Select]
AllowUsers
AllowGroups
DenyUsers
DenyGroups

Set the sftp port in the clients accordingly and specify sftp as protocol. Block tcp port 21 in the server's firewall

Offline
*
Re: FTP user can't login root user can
« Reply #2 on: February 14, 2018, 10:48:35 AM »
stil no luck :-\

Re: FTP user can't login root user can
« Reply #3 on: February 14, 2018, 11:15:46 AM »
Checking the server/client side logs might to narrow down the culprit and troubleshoot the issue

Offline
*
Re: FTP user can't login root user can
« Reply #4 on: February 20, 2018, 06:21:01 PM »
where can i find these logs i use centos 7 CWP version: 0.9.8.494

i know /var/log/ pureftpd.log but that one is empty

Got some more

pure-ftpd.service - Pure-FTPd FTP server
   Loaded: loaded (/usr/lib/systemd/system/pure-ftpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Tue 2018-02-20 20:01:42 CET; 3s ago
  Process: 17023 ExecStart=/sbin/pure-ftpd /etc/pure-ftpd/pure-ftpd.conf (code=exited, status=0/SUCCESS)
 Main PID: 17024 (pure-ftpd)
   CGroup: /system.slice/pure-ftpd.service
           └─17024 /sbin/pure-ftpd /etc/pure-ftpd/pure-ftpd.conf

Feb 20 20:01:42 srv1.XX systemd[1]: Starting Pure-FTPd FTP server...
Feb 20 20:01:42 srv1.XX systemd[1]: PID file /var/run/pure-ftpd.pid not readable (yet?) after start.
Feb 20 20:01:42 srv1.XX pure-ftpd[17024]: (?@?) [DEBUG] Couldn't load the DH parameters file /etc/ssl/private/pure-ftpd-dhparams.pem
Feb 20 20:01:42 srv1.XX systemd[1]: Started Pure-FTPd FTP server.
« Last Edit: February 20, 2018, 07:04:26 PM by Sijmen-NL »

Offline
*
Re: FTP user can't login root user can
« Reply #5 on: February 21, 2018, 10:56:52 AM »
littel bit further

Response:   500 I won't open a connection to 192.168.5.134 (only to local wan ip of filezilla)
Error:   Failed to retrieve directory listing

Re: FTP user can't login root user can
« Reply #6 on: February 21, 2018, 02:29:42 PM »
Did you active NAT-end network configuration? And tried http://wiki.centos-webpanel.com/500-internal-server-error ?

Offline
*
Re: FTP user can't login root user can
« Reply #7 on: February 22, 2018, 01:00:06 PM »
yes i did nat and the rights that's the strange thing maby that support can look at this