New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

FTP user can't login root user can

Started by Sijmen-NL, February 13, 2018, 12:32:13 PM

Previous topic - Next topic

Sijmen-NL

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

n8v8r

edit "/etc/ssh/sshd_config"

Specify users/usergroups according to your need

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


n8v8r

Checking the server/client side logs might to narrow down the culprit and troubleshoot the issue

Sijmen-NL

#4
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.

Sijmen-NL

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

n8v8r


Sijmen-NL

yes i did nat and the rights that's the strange thing maby that support can look at this