1 (edited by Vortex 2014-06-05 09:54:32)

Topic: mail sshd[xxx]: Connection closed by x.x.x.x [preauth] - SSH Termina

============ Required information ====
- iRedMail version: iRedMail-0.8.7
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version:  Unbuntu Trusty 14.0.4
- Related log if you're reporting an issue: auth.log and jail.local
====
Hello.  I have a problem logging in with SSH client from iPad.  Before iRedMail I could login.

 
Jun  5 11:17:49 mail sshd[23493]: Connection closed by 131.170.x.x [preauth]
Jun  5 11:19:15 mail sshd[23594]: Connection closed by 131.170.x.x [preauth]
Jun  5 11:19:22 mail sshd[23600]: Connection closed by 131.170.x.x [preauth] 

Check the auth.log and it is getting blocked by either iptables or Fail2Ban (I suspect).  Problem is I don't know where to set this up to allow access.  These access time are from my iPad/iPhone and the IP is random.

Also please check the jail.local file attached.

Cheers, Greg

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: mail sshd[xxx]: Connection closed by x.x.x.x [preauth] - SSH Termina

[SOLVED]  Can login with the option in sshd_config. 

PasswordAuthentication yes

smile
Don't want this so I've found a client that uses a key pair.

Sorry to bother.  Cheers.