"additional FTP" not working - fix
Posted: Thu Nov 02, 2017 11:42 pm
Don't know if this helps anyone else, but I've been banging my head against the wall with this issue.
I don't think I've done anything unusual with my vesta set up - standard install as possible on a DO VPS.
Created a user with the "additional ftp" option in the gui, and was getting errors trying to log in. Username and password were perfect, believe me I checked!
Eventually, I found that adding /sbin/nologin to /etc/shells made the difference. /usr/sbin/nologin was already there.
I was tipped off that this was the issue because when I tried logging in with SFTP out of desperation auth.log mentioned that wasn't a valid shell. I don't know if this counts a bug, or if I did something wrong after all, or if it just helps someone but I thought I'd put it somewhere online in case it does.
I don't think I've done anything unusual with my vesta set up - standard install as possible on a DO VPS.
Created a user with the "additional ftp" option in the gui, and was getting
Code: Select all
530 Login incorrect
Eventually, I found that adding /sbin/nologin to /etc/shells made the difference. /usr/sbin/nologin was already there.
I was tipped off that this was the issue because when I tried logging in with SFTP out of desperation auth.log mentioned that wasn't a valid shell. I don't know if this counts a bug, or if I did something wrong after all, or if it just helps someone but I thought I'd put it somewhere online in case it does.