Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Every FTP account created in Vesta CP gets associated to /sbin/nologin and therefore won't work.
This is the first server I have built using keys but don’t think that’s where the error lies.
I can get FTP connection using the same Vesta CP admin login details. But other FTP accounts made within domains get linked to /sbin/nologin and return
Status: Connecting to XXX.XXX.XXX.XXX..
Response: fzSftp started, protocol_version=7
Command: open “loginuser@ipaddress” 22
Command: Pass: *******
Error: Authentication failed.
Error: Critical error: Could not connect to server
Status: Disconnected from server
User userlogin not allowed because shell /sbin/nologin does not exist
Dec 3 12:25:51 serverid sshd: inputuserauthrequest: invalid user userlogin [preauth]
Dec 3 12:25:51 serverid sshd: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=124-170-103-63.dyn.iinet.net.au user=userlogin
Dec 3 12:25:53 serverid sshd: Failed password for invalid user userlogin from 126.96.36.199 port 56548 ssh2
Dec 3 12:25:53 serverid sshd: error: Received disconnect from 188.8.131.52: 13: Unable to authenticate [preauth]
First trial was on a fresh install with minor personal configurations (including current updates)
Second was a fresh install with only Vesta CP installed
All installs have been on Ubuntu 14.04.5 x64
Yet my current server using the same OS with minor personal configurations and some major updates which have not gone according to plan and causing some funny issues. I can create new FTP users in Vesta CP that associate with /usr/bin/rssh all work.
Thanks in advance.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×