How to fix “Error: Critical error: Could not connect to server” on ubuntu 14.04
Status: Resolving address of ftp.esgnet.lan
Status: Connecting to 10.11.1.21:21…
Status: Connection established, waiting for welcome message…
Status: Initializing TLS…
Status: Verifying certificate…
Status: TLS connection established.
Command: USER sibanda
Response: 331 Password required for esgnet
Command: PASS ***********
Response: 530 Login incorrect.
Error: Critical error: Could not connect to server
Solution:
Go edit /etc/shells
vi /etc/shells
# /etc/shells: valid login shells
/bin/sh
/bin/dash
/bin/bash
/bin/rbash
/usr/bin/tmux
/usr/bin/screen
“/bin/false”
/bin/false