Not able to login in ftp through shell
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.
"Make sure the port is set to 22."
From a security point of view, the consensus seems to be that it's best to manually change the SSH port (22) to something else (i.e., a random port no.). See Initial Server Setup with Ubuntu 12.04