pure-ftp works for root but not users in ispconfig3

Discussion in 'Installation/Configuration' started by vestport, Mar 29, 2014.

  1. vestport

    vestport Member HowtoForge Supporter

    Hello,

    I use winscp for 99% of my ftp as a client. I can connect to my ispconfig3 box (centOS 6.4) fine as root but as a user defined in ispconfig3 no luck. Any ideas? is this a pure-ftp.conf issue? I have heard that some other users have uninstalled pure-ftp and replaced with an alternate.

    Please advise.

    Thanks,

    Art
     
  2. srijan

    srijan New Member HowtoForge Supporter

    Hi

    Do you use the correct user name for ftp login attempt?

    I mean to say that if you created the user c1user then the ftp user becomes defaultc1user

    You can check the logs at logs in /var/log/, espacially syslog, mesages and pur-ftpd log.

    We recommend the best comaptibility with ISPConfig, so we recommend the pureftp as the ftp for our ISPConfig servers

    Br//
    Srijan
     
    Last edited: Mar 31, 2014
  3. sijmenNL

    sijmenNL New Member

    Have exact the same problem root will login clients not


    Code:
    Mar 31 09:57:54 xxx pure-ftpd: ([email protected]) [INFO] New connection from xxx.xxx.xxx.xxx
    Mar 31 09:57:54 xxx pure-ftpd: ([email protected]) [INFO] PAM_RHOST enabled. Getting the peer address
    Mar 31 09:57:59 xxx pure-ftpd: ([email protected]) [WARNING] Authentication failed for user [xxxxxx]
    M
    i know 100% that the user and password are correct
     
  4. srijan

    srijan New Member HowtoForge Supporter

    Hi

    Give a try, create a new test user through ISPConfig web-interface & consider it ftp_user1, use filezilla as ftp-client then connect to the ftp through username=defaultftp_user1 & your ftp password. Crosscheck the integrity for the same.

    Br//
    Srijan
     
  5. sijmenNL

    sijmenNL New Member

    Not working :( still same error
     
  6. till

    till Super Moderator Staff Member ISPConfig Developer

    Winscp is mainly a scp client, so you connect by ssh and not by FTP. Thats why you are able to connect with the root ssh user but not with an FTP account.

    To conect by ftp, use a ftp client like filezilla. Then use the full ftp username inkl. prefix like it is displayed in the ftp user list in ispconfig to connect to your server.
     
  7. millpark10

    millpark10 Member

    Don't know if it is of any help, but, I discovered that winscp could not handle some special characters correctly. In my case I used a password including swedish special characters and was denied login with winscp. Command line login from linux terminal with same swedish characters worked as a charm. Changed pwd to alphanumeric instead, winscp logged in no problem! Can you login with a simple pwd?
    //millpark10
    (I Tried both ssh and ftp, discovered the problem with special characters only apply to ssh!)
     
    Last edited: Mar 31, 2014
  8. vestport

    vestport Member HowtoForge Supporter

    Thanks for your reply! I login fine with root and the other accounts do not use anything fancy, just regular characters and upper/lower combination and numbers only. That said I have seen other posts that say they have issues with WINSCP and not being able to login at all. Any other suggestions welcome. It is the ftp user accounts created with ISPCONFIG3 that don't work. root does work! I think I should probably try another secure FTP client maybe.

    Art
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    I explained already above why root works but not FTP accounts. You are currently connecting to SSH and not FTP as winscp is a scp client (SSH based file transfers), root is a ssh user and not a ftp user. A ftp server would never let you connect as root, is absolutely clear that you connect to ssh at the moment.

    Please try another FTP client like I suggested.
     
  10. vestport

    vestport Member HowtoForge Supporter

    Duh! Thanks Till! Sometimes I over think things. Mostly I just put stuff up quick on the local segment as root and rarely does anyone need to actually FTP. I used WINSCP but just checked FTP protocol this time. I should have done that before and feel like a fool. You da man!

    Thanks!


    Art :D
     
  11. vestport

    vestport Member HowtoForge Supporter

    Till, also, so sorry, I didn't see that you responded and only noticed "MillPark" before. I'm getting blind too I guess! Tough to get old man.

    Thanks again!


    Art
     

Share This Page