<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: ssh_exchange_identification: Connection closed by remote host in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193234#M733751</link>
    <description>Simply check by scp some file first between the servers. if failing --&amp;gt;&lt;BR /&gt;&lt;BR /&gt;you may need to check your ssh pub key .&lt;BR /&gt;&lt;BR /&gt;match the output of #cat id_dsa.pub with the autorization.key of the other server.&lt;BR /&gt;&lt;BR /&gt;look in .ssh folder.&lt;BR /&gt;&lt;BR /&gt;in worst case regenare the key by &lt;BR /&gt;#ssh-keygen -t dsa&lt;BR /&gt;&lt;BR /&gt;and copy the public key to the authorization key of the other server.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 07 May 2008 11:10:50 GMT</pubDate>
    <dc:creator>Redhat</dc:creator>
    <dc:date>2008-05-07T11:10:50Z</dc:date>
    <item>
      <title>ssh_exchange_identification: Connection closed by remote host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193232#M733749</link>
      <description>Dear all,&lt;BR /&gt;I'm trying sftp for first time, i try one server it is working, but another server is not working from the same server, gettting below message;&lt;BR /&gt;---------------------------------------&lt;BR /&gt;batmed1:/&amp;gt;sftp telegram@bat-bcdr&lt;BR /&gt;Connecting to bat-bcdr...&lt;BR /&gt;ssh_exchange_identification: Connection closed by remote host&lt;BR /&gt;Connection closed&lt;BR /&gt;----------------------------------------&lt;BR /&gt;&lt;BR /&gt;I try this command to see more detail...&lt;BR /&gt;-------------------------------------------&lt;BR /&gt;batmed1:/&amp;gt;ssh -vvv telegram@bat-bcdr&lt;BR /&gt;OpenSSH_4.4p1-hpn12v11, OpenSSL 0.9.7l 28 Sep 2006&lt;BR /&gt;HP-UX Secure Shell-A.04.40.005, HP-UX Secure Shell version&lt;BR /&gt;debug1: Reading configuration data /opt/ssh/etc/ssh_config&lt;BR /&gt;debug3: Seeding PRNG from /opt/ssh/libexec/ssh-rand-helper&lt;BR /&gt;debug2: ssh_connect: needpriv 0&lt;BR /&gt;debug1: Connecting to bat-bcdr [10.40.3.46] port 22.&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug1: permanently_set_uid: 0/3&lt;BR /&gt;debug1: identity file /.ssh/id_rsa type -1&lt;BR /&gt;debug1: identity file /.ssh/id_dsa type -1&lt;BR /&gt;ssh_exchange_identification: Connection closed by remote host&lt;BR /&gt;-----------------------------------------------&lt;BR /&gt;below shows the syslog.log in the destination server&lt;BR /&gt;------------------------------------------&lt;BR /&gt;bat-bcdr sshd[8139]: fatal: buffer_get_int: buffer error&lt;BR /&gt;May  7 14:06:47 bat-bcdr named[1158]: zone 64.168.192.IN-ADDR.ARPA/IN: refresh: failure trying master 10.30.3.88#53: timed out&lt;BR /&gt;------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Your help appreceiated...&lt;BR /&gt;Ahmed</description>
      <pubDate>Wed, 07 May 2008 10:43:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193232#M733749</guid>
      <dc:creator>Ahmed_58</dc:creator>
      <dc:date>2008-05-07T10:43:16Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_exchange_identification: Connection closed by remote host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193233#M733750</link>
      <description>Try to disable DNS back resolv on ssh server - in sshd_config edit "UseDNS no" and restart ssh server.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;ivan</description>
      <pubDate>Wed, 07 May 2008 10:51:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193233#M733750</guid>
      <dc:creator>Ivan Krastev</dc:creator>
      <dc:date>2008-05-07T10:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_exchange_identification: Connection closed by remote host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193234#M733751</link>
      <description>Simply check by scp some file first between the servers. if failing --&amp;gt;&lt;BR /&gt;&lt;BR /&gt;you may need to check your ssh pub key .&lt;BR /&gt;&lt;BR /&gt;match the output of #cat id_dsa.pub with the autorization.key of the other server.&lt;BR /&gt;&lt;BR /&gt;look in .ssh folder.&lt;BR /&gt;&lt;BR /&gt;in worst case regenare the key by &lt;BR /&gt;#ssh-keygen -t dsa&lt;BR /&gt;&lt;BR /&gt;and copy the public key to the authorization key of the other server.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 May 2008 11:10:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193234#M733751</guid>
      <dc:creator>Redhat</dc:creator>
      <dc:date>2008-05-07T11:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_exchange_identification: Connection closed by remote host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193235#M733752</link>
      <description>I try another server, I'm getting ...&lt;BR /&gt;-------------&lt;BR /&gt;batmed1:/&amp;gt;sftp cduser@bat-bbis&lt;BR /&gt;Connecting to bat-bbis...&lt;BR /&gt;The authenticity of host 'bat-bbis (10.3.4.11)' can't be established.&lt;BR /&gt;RSA key fingerprint is e4:06:ce:24:b0:06:5d:0b:55:c0:4f:5d:c3:49:a9:16.&lt;BR /&gt;Are you sure you want to continue connecting (yes/no)?&lt;BR /&gt;----------------&lt;BR /&gt;What I should reply?&lt;BR /&gt;</description>
      <pubDate>Thu, 08 May 2008 09:15:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193235#M733752</guid>
      <dc:creator>Ahmed_58</dc:creator>
      <dc:date>2008-05-08T09:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_exchange_identification: Connection closed by remote host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193236#M733753</link>
      <description>I can see two files in .ssh folder, is this two files (known_hosts &amp;amp; prng_seed) should be exists on the other servers? &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 08 May 2008 09:21:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193236#M733753</guid>
      <dc:creator>Ahmed_58</dc:creator>
      <dc:date>2008-05-08T09:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_exchange_identification: Connection closed by remote host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193237#M733754</link>
      <description>Ahmed you have to type yes now then ssh connection will established next time it wont happen&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Safar</description>
      <pubDate>Thu, 08 May 2008 14:35:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193237#M733754</guid>
      <dc:creator>Safarali</dc:creator>
      <dc:date>2008-05-08T14:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_exchange_identification: Connection closed by remote host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193238#M733755</link>
      <description>hi again,&lt;BR /&gt;now I can see it is working other way round e.g send file from serverB to serverA but not serverA to serverB!&lt;BR /&gt;&lt;BR /&gt;help please.</description>
      <pubDate>Sun, 11 May 2008 08:57:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193238#M733755</guid>
      <dc:creator>Ahmed_58</dc:creator>
      <dc:date>2008-05-11T08:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_exchange_identification: Connection closed by remote host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193239#M733756</link>
      <description>Hi Ahmed&lt;BR /&gt;&lt;BR /&gt;Is there any tcpwrapper or firewall applied in serverB?</description>
      <pubDate>Sun, 11 May 2008 10:02:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193239#M733756</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-05-11T10:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_exchange_identification: Connection closed by remote host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193240#M733757</link>
      <description>hi ahsan,&lt;BR /&gt;NO. now I regenerate the key I can send files from serverB to serverA but not other way round.&lt;BR /&gt;&lt;BR /&gt;Ahmed</description>
      <pubDate>Sun, 11 May 2008 10:06:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193240#M733757</guid>
      <dc:creator>Ahmed_58</dc:creator>
      <dc:date>2008-05-11T10:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_exchange_identification: Connection closed by remote host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193241#M733758</link>
      <description>Hi again&lt;BR /&gt;&lt;BR /&gt;I would suspect problems in OpenSSL's libcrypto or corrupt keys.&lt;BR /&gt;Try reading the private key directly with OpenSSL: &lt;BR /&gt;$ openssl rsa -noout -check -in id_rsa</description>
      <pubDate>Sun, 11 May 2008 10:21:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193241#M733758</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-05-11T10:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_exchange_identification: Connection closed by remote host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193242#M733759</link>
      <description>hi ahsan,&lt;BR /&gt;&lt;BR /&gt;the command display ... is it -id_dsa or -id_rsa? for id_dsa below display&lt;BR /&gt;&lt;BR /&gt;#  /opt/wbem/sbin/openssl rsa -noout -check -in id_dsa&lt;BR /&gt;28823:error:0607907F:digital envelope routines:EVP_PKEY_get1_RSA:expecting an rsa key:p_lib.c:221:&lt;BR /&gt;</description>
      <pubDate>Sun, 11 May 2008 10:38:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193242#M733759</guid>
      <dc:creator>Ahmed_58</dc:creator>
      <dc:date>2008-05-11T10:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: ssh_exchange_identification: Connection closed by remote host</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193243#M733760</link>
      <description>and i have also seen that in your syslog output that, &lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;May 7 14:06:47 bat-bcdr named[1158]: zone 64.168.192.IN-ADDR.ARPA/IN: refresh: failure trying master 10.30.3.88#53: timed out&lt;BR /&gt;&lt;BR /&gt;did you check in your DNS entry? it says it doesn't reach the 10.30.3.88. is the serverB address that IP?</description>
      <pubDate>Sun, 11 May 2008 10:43:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-exchange-identification-connection-closed-by-remote-host/m-p/4193243#M733760</guid>
      <dc:creator>Jeeshan</dc:creator>
      <dc:date>2008-05-11T10:43:51Z</dc:date>
    </item>
  </channel>
</rss>

