By shaneelliott
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
/auth.log
User userlogin not allowed because shell /sbin/nologin does not exist
Dec 3 12:25:51 serverid sshd[26030]: input_userauth_request: invalid user userlogin [preauth]
Dec 3 12:25:51 serverid sshd[26030]: 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[26030]: Failed password for invalid user userlogin from 124.170.103.63 port 56548 ssh2
Dec 3 12:25:53 serverid sshd[26030]: error: Received disconnect from 124.170.103.63: 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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I believe that VestaCP uses a standard FTP service rather than SFTP which runs over ssh. The FTP users are created with /sbin/nologin in order to disable shell access via SSH. Instead of connecting to port 22 you should instead try connecting to port 21 with your FTP client.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.