ISPConfig FTP user access denied for site

Discussion in 'Server Operation' started by Claudiu L., Nov 12, 2015.

  1. Claudiu L.

    Claudiu L. New Member

    I recently setup a home server ubuntu 14.04 on a old computer. And I want to use it as web server. I installed ISPConfig 3, I configured the domain for the website, the site is pointing to my server. I created a new ftp user for the specific site in ISPConfig, but when I try to connect via WinSCP it gives me 'Access denied'.

    See the attached screenshots.

    [​IMG]
    [​IMG]
    [​IMG]

    What I'm doing wrong ?

    Thanks!
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You mix up FTP / FTPS with SFTP. SFTP is SSH and not FTP and is handled by the SSH daemon, so it requires an SSH user and not an FTP user. If you want to use secure FTP to connect to the site then select "FTP" as file protocol in the WinSCP Client.
     
  3. Claudiu L.

    Claudiu L. New Member

    I changed to FTP, but still the same.
    [​IMG]

    [​IMG]

    Can I provide you something else that may help ?
     
    Last edited: Nov 12, 2015
  4. Claudiu L.

    Claudiu L. New Member

    This is the output when I run 'pwck'.

    user 'lp': directory '/var/spool/lpd' does not exist
    user 'news': directory '/var/spool/news' does not exist
    user 'uucp': directory '/var/spool/uucp' does not exist
    user 'list': directory '/var/list' does not exist
    user 'irc': directory '/var/run/ircd' does not exist
    user 'gnats': directory '/var/lib/gnats' does not exist
    user 'nobody': directory '/nonexistent' does not exist
    user 'syslog': directory '/home/syslog' does not exist
    user 'ntp': directory '/home/ntp' does not exist
    user 'mysql': directory '/nonexistent' does not exist
    user 'dovenull': directory '/nonexistent' does not exist
    user 'memcache': directory '/nonexistent' does not exist
    user 'geo': directory '/home/geo' does not exist
    user 'debian-transmission': directory '/home/debian-transmission' does not exist
    user 'claudiul': directory '/home/claudiul' does not exist​

    And when I run 'grpck' :
    'www-data' is a member of the 'client0' group in /etc/group but not in /etc/gshadow
    'www-data' is a member of the 'client2' group in /etc/group but not in /etc/gshadow​

    Any idea ?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Users form /etc/passwd and /etc/shadow are not used for FTP Logins, the FTP users exist only in mysql and pure-ftpd verifies the login against the ftp_user table inside the dbispconfig mysql database.
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Which tutorial did you use for the ispconfig installation?
     

Share This Page