[CentOS] ssh_exchange_identification: Connection closed by remote host

Tony Molloy tony.molloy at ul.ie
Fri Sep 14 11:44:56 EDT 2012


On Friday 14 September 2012 16:32:18 Scott Silva wrote:
> on 9/14/2012 8:26 AM m.roth at 5-cent.us spake the
> 
> following:
> > M. Fioretti wrote:
> >> I have accounts on two Centos servers, A and B, each hosted on a
> >> remote VPS by a different provider/datacenter.
> >>
> >> Until yesterday night, I could connect without problems via SSH
> >> to both servers from my home Fedora 16 desktop.
> >>
> >> Yesterday I completed (fingers crossed) the switch to a
> >> different ADSL provider. From the moment I turned on the modem
> >> on the new ADSL line, I became unable to ssh into server A. All
> >> attempts abort with this message:
> >>
> >> ssh_exchange_identification: Connection closed by remote host
> >
> > <snip>
> > This would be obnoxious, but have you checked with your ADSL
> > provider, to see if they're blocking ssh traffic?
> >
> >       mark
> 
> Also. Could the server A have a firewall that had allow ranges for
>  your original ip range? Or denyhosts... something like that

From memory the only time I've seen that error message was due to 
entries in the /etc/hosts.allow file specifying what IP addresses are 
allowed ssh in. Changing your ISP would change your address.

Tony
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 


More information about the CentOS mailing list