[CentOS] ssh_exchange_identification: Connection closed by remote host

M. Fioretti mfioretti at nexaima.net
Sat Sep 15 05:01:03 UTC 2012


On Fri, September 14, 2012 11:48 pm, Stephen Harris wrote:

> 1) What happens if you run "telnet yourhost 22".

this is what happens (with the proper IP of course):

>      Trying 1.2.3.4...
>      Connected to yourhost (1.2.3.4)
>      Escape character is '^]'.
>      Connection closed by foreign host.
>
> 2) How quickly does the "closed" occur?

I'd say 4/5 seconds

> 3) What is the output of "ssh -v yourhost"

here it is, obviously with changed server name and IP

#####################################################
[marco at avalon ~]$ ssh -v -p xxx me at example.com
OpenSSH_5.8p2, OpenSSL 1.0.0j-fips 10 May 2012
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to example.com [ip.of.example.com] port xxx.
debug1: Connection established.
debug1: identity file /home/marco/.ssh/id_rsa type -1
debug1: identity file /home/marco/.ssh/id_rsa-cert type -1
debug1: identity file /home/marco/.ssh/id_dsa type -1
debug1: identity file /home/marco/.ssh/id_dsa-cert type -1
ssh_exchange_identification: Connection closed by remote host
###########################################################

I have informed the provider, and am waiting answers from them.

Thanks,
Marco




More information about the CentOS mailing list