Question

Able to access via SSH but not Filezilla

  • Posted January 13, 2015

I didn’t change anything on server config recently. Yesterday I was trying to access my file via Filezilla but it returned Connection closed by server with exitcode 127 error code.

I can access via ssh (using iTerm) Do you know what happened?

Ubuntu 14.04 x64, Wordpress running

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

@gndo

Logs are here:

Jan 14 15:07:35 aa sshd[17609]: reverse mapping checking getaddrinfo for myIP.dynamic.ttnet.com.tr [myIP] failed - POSSIBLE BREAK-IN ATTEMPT! Jan 14 15:07:35 aa sshd[17609]: Accepted password for root from myIP port 62180 ssh2 Jan 14 15:07:42 aa sshd[17612]: reverse mapping checking getaddrinfo for myIP.dynamic.ttnet.com.tr [myIP] failed - POSSIBLE BREAK-IN ATTEMPT! Jan 14 15:07:43 aa sshd[17612]: Accepted password for root from myIP port 62181 ssh2 Jan 14 15:07:48 aa sshd[17625]: Invalid user testing from 180.169.1.207 Jan 14 15:07:48 aa sshd[17625]: input_userauth_request: invalid user testing [preauth] Jan 14 15:07:48 aa sshd[17625]: error: Could not get shadow information for NOUSER Jan 14 15:07:48 aa sshd[17625]: Failed password for invalid user testing from 180.169.1.207 port 35719 ssh2 Jan 14 15:07:48 aa sshd[17625]: Received disconnect from 180.169.1.207: 11: Bye Bye [preauth] Jan 14 15:09:01 aa CRON[17769]: pam_unix(cron:session): session opened for user root by (uid=0) Jan 14 15:09:01 aa CRON[17769]: pam_unix(cron:session): session closed for user root Jan 14 15:10:12 aa sshd[17842]: Invalid user aaron from 106.186.126.40 Jan 14 15:10:12 aa sshd[17842]: input_userauth_request: invalid user aaron [preauth] Jan 14 15:10:12 aa sshd[17842]: error: Could not get shadow information for NOUSER Jan 14 15:10:12 aa sshd[17842]: Failed password for invalid user aaron from 106.186.126.40 port 49286 ssh2 Jan 14 15:10:12 a sshd[17842]: Received disconnect from 106.186.126.40: 11: Bye Bye [preauth]

In Filezilla, choose on the menu Edit->Settings, On the left panel expand to Connection->SFTP. On the right side make sure you have the correct private key file, or add if missing the correct entry.

Using the DO web console, login as root and do ‘tail -f /var/log/auth.log’. Then try to login with Filezilla and note any messages.