<?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: openssh problem on UX-11 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-problem-on-ux-11/m-p/2516287#M758228</link>
    <description>Yes, I do have a DSA key file. Here are the relevant bits of my sshd_config file.&lt;BR /&gt;&lt;BR /&gt;Port 22&lt;BR /&gt;Protocol 2,1&lt;BR /&gt;#ListenAddress 0.0.0.0&lt;BR /&gt;#ListenAddress ::&lt;BR /&gt;HostKey /opt/openssh2/etc/ssh_host_key&lt;BR /&gt;HostKey /opt/openssh2/etc/ssh_host_dsa_key&lt;BR /&gt;#HostKey /opt/openssh2/etc/ssh_host_rsa_key&lt;BR /&gt;ServerKeyBits 1024&lt;BR /&gt;&lt;BR /&gt;All of the listed files exist in the dir..&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Thu, 12 Apr 2001 12:32:46 GMT</pubDate>
    <dc:creator>Brian Bergstrand</dc:creator>
    <dc:date>2001-04-12T12:32:46Z</dc:date>
    <item>
      <title>openssh problem on UX-11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-problem-on-ux-11/m-p/2516285#M758226</link>
      <description>I installed OpenSSH 2.5.1 from the depot I got from the UX archive at &amp;lt;&amp;gt;. The problem is, I can only connect to the server in ssh 1 mode. Using ssh2 mode (with a DSA key) results in a 'Bad packet length' error.&lt;BR /&gt;&lt;BR /&gt;The server is running UX 11.11 TCOE and OpenSSL 0.9.6 24 Sep 2000. I have tried connecting from RedHat 7 and Mac OS X both running OpenSSH 2.5.2p2. and OpenSSL 0.9.5a 1 Apr 2000.&lt;BR /&gt;&lt;BR /&gt;Here is a debug session:&lt;BR /&gt;debug1: Remote protocol version 1.99, remote software version OpenSSH_2.5.1p1&lt;BR /&gt;debug1: match: OpenSSH_2.5.1p1 pat ^OpenSSH&lt;BR /&gt;Enabling compatibility mode for protocol 2.0&lt;BR /&gt;debug1: Local version string SSH-2.0-OpenSSH_2.5.2p2&lt;BR /&gt;debug1: send KEXINIT&lt;BR /&gt;debug1: done&lt;BR /&gt;debug1: wait KEXINIT&lt;BR /&gt;debug1: got kexinit: diffie-hellman-group-exchange-sha1,diffie-hellman-group1-sha1&lt;BR /&gt;debug1: got kexinit: ssh-dss&lt;BR /&gt;debug1: got kexinit: 3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,rijndael-cbc@lysator.liu.se&lt;BR /&gt;debug1: got kexinit: 3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes128-cbc,aes192-cbc,aes256-cbc,rijndael128-cbc,rijndael192-cbc,rijndael256-cbc,rijndael-cbc@lysator.liu.se&lt;BR /&gt;debug1: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96&lt;BR /&gt;debug1: got kexinit: hmac-sha1,hmac-md5,hmac-ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96&lt;BR /&gt;debug1: got kexinit: none,zlib&lt;BR /&gt;debug1: got kexinit: none,zlib&lt;BR /&gt;debug1: got kexinit: &lt;BR /&gt;debug1: got kexinit: &lt;BR /&gt;debug1: first kex follow: 0 &lt;BR /&gt;debug1: reserved: 0 &lt;BR /&gt;debug1: done&lt;BR /&gt;debug2: mac_init: found hmac-md5&lt;BR /&gt;debug1: kex: server-&amp;gt;client aes128-cbc hmac-md5 none&lt;BR /&gt;debug2: mac_init: found hmac-md5&lt;BR /&gt;debug1: kex: client-&amp;gt;server aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: Sending SSH2_MSG_KEX_DH_GEX_REQUEST.&lt;BR /&gt;debug1: Wait SSH2_MSG_KEX_DH_GEX_GROUP.&lt;BR /&gt;debug1: Got SSH2_MSG_KEX_DH_GEX_GROUP.&lt;BR /&gt;debug1: dh_gen_key: priv key bits set: 133/256&lt;BR /&gt;debug1: bits set: 1046/2049&lt;BR /&gt;debug1: Sending SSH2_MSG_KEX_DH_GEX_INIT.&lt;BR /&gt;debug1: Wait SSH2_MSG_KEX_DH_GEX_REPLY.&lt;BR /&gt;debug1: Got SSH2_MSG_KEXDH_REPLY.&lt;BR /&gt;debug1: Host '131.156.180.18' is known and matches the DSA host key.&lt;BR /&gt;debug1: Found key in /Users/brian/.ssh/known_hosts2:3&lt;BR /&gt;debug1: bits set: 1037/2049&lt;BR /&gt;debug1: len 55 datafellows 0&lt;BR /&gt;debug1: ssh_dss_verify: signature correct&lt;BR /&gt;debug1: Wait SSH2_MSG_NEWKEYS.&lt;BR /&gt;debug1: GOT SSH2_MSG_NEWKEYS.&lt;BR /&gt;debug1: send SSH2_MSG_NEWKEYS.&lt;BR /&gt;debug1: done: send SSH2_MSG_NEWKEYS.&lt;BR /&gt;debug1: done: KEX2.&lt;BR /&gt;debug1: send SSH2_MSG_SERVICE_REQUEST&lt;BR /&gt; 58 ee 47 6d ee 5e cc 79 37 b1 b0 6d 52 ee ae 4e&lt;BR /&gt;Disconnecting: Bad packet length 1492010861.&lt;BR /&gt;&lt;BR /&gt;Anyone know what is going on? I would like to upgrade to OpenSSH 2.5.2p2 on the server, but I can't find a depot for it anywhere.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 11 Apr 2001 19:33:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-problem-on-ux-11/m-p/2516285#M758226</guid>
      <dc:creator>Brian Bergstrand</dc:creator>
      <dc:date>2001-04-11T19:33:25Z</dc:date>
    </item>
    <item>
      <title>Re: openssh problem on UX-11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-problem-on-ux-11/m-p/2516286#M758227</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;Do you have a "HostKey /etc/ssh_host_dsa_key" entry in your sshd_config?&lt;BR /&gt;&lt;BR /&gt;It is needed by OpenSSH version 2.5.1..&lt;BR /&gt;&lt;BR /&gt;Vincent</description>
      <pubDate>Thu, 12 Apr 2001 06:51:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-problem-on-ux-11/m-p/2516286#M758227</guid>
      <dc:creator>Vincent Stedema</dc:creator>
      <dc:date>2001-04-12T06:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: openssh problem on UX-11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-problem-on-ux-11/m-p/2516287#M758228</link>
      <description>Yes, I do have a DSA key file. Here are the relevant bits of my sshd_config file.&lt;BR /&gt;&lt;BR /&gt;Port 22&lt;BR /&gt;Protocol 2,1&lt;BR /&gt;#ListenAddress 0.0.0.0&lt;BR /&gt;#ListenAddress ::&lt;BR /&gt;HostKey /opt/openssh2/etc/ssh_host_key&lt;BR /&gt;HostKey /opt/openssh2/etc/ssh_host_dsa_key&lt;BR /&gt;#HostKey /opt/openssh2/etc/ssh_host_rsa_key&lt;BR /&gt;ServerKeyBits 1024&lt;BR /&gt;&lt;BR /&gt;All of the listed files exist in the dir..&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Thu, 12 Apr 2001 12:32:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-problem-on-ux-11/m-p/2516287#M758228</guid>
      <dc:creator>Brian Bergstrand</dc:creator>
      <dc:date>2001-04-12T12:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: openssh problem on UX-11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-problem-on-ux-11/m-p/2516288#M758229</link>
      <description>Brian,&lt;BR /&gt;&lt;BR /&gt;What happens if you put a comment before the "HostKey /opt/openssh2/etc/ssh_host_key" entry and just use the "HostKey /opt/openssh2/etc/ssh_host_dsa_key" entry?&lt;BR /&gt;&lt;BR /&gt;Vincent&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Apr 2001 13:42:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-problem-on-ux-11/m-p/2516288#M758229</guid>
      <dc:creator>Vincent Stedema</dc:creator>
      <dc:date>2001-04-12T13:42:14Z</dc:date>
    </item>
    <item>
      <title>Re: openssh problem on UX-11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-problem-on-ux-11/m-p/2516289#M758230</link>
      <description>If I comment out the ssh_host_key file, the ssh 1 protocol is disabled (what I though would happen). The server will then only allow protocol 2 connections (which don't work).&lt;BR /&gt;</description>
      <pubDate>Thu, 12 Apr 2001 14:36:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-problem-on-ux-11/m-p/2516289#M758230</guid>
      <dc:creator>Brian Bergstrand</dc:creator>
      <dc:date>2001-04-12T14:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: openssh problem on UX-11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-problem-on-ux-11/m-p/2516290#M758231</link>
      <description>Here's the story:&lt;BR /&gt;&lt;BR /&gt;Until recently (2.5.2+), OpenSSH had a bug in AES support on big-endian architectures (such as PA-RISC under HP-UX). However, the OpenSSH client prior to 2.5.2 used 3DES rather than AES by default (all this applies to SSH-2 only). That default was changed to the use of AES between 2.5.1 and 2.5.2. Then, after 2.5.2p2, there was one more relevant change: the OpenSSH client will now detect the buggy server versions (2.3.0 to 2.5.1) and not use AES/Rijndael when speaking to them:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/compat.c.diff?r1=1.39&amp;amp;r2=1.40" target="_blank"&gt;http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/compat.c.diff?r1=1.39&amp;amp;r2=1.40&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(this is only a small part of the change).&lt;BR /&gt;&lt;BR /&gt;Red Hat incorporates this later patch (but not its final version) in their 2.5.2p2-1.7 errata package.&lt;BR /&gt;&lt;BR /&gt;So your options are:&lt;BR /&gt;&lt;BR /&gt;1. Tell the client to use a cipher other than AES/Rijndael. You can use the "-c 3des" command line option, or "Cipher 3des" in either /etc/ssh_config (possibly /etc/ssh/ssh_config) or ~/.ssh/config.&lt;BR /&gt;&lt;BR /&gt;2. Patch the client to current CVS version (tricky).&lt;BR /&gt;&lt;BR /&gt;3. You haven't mentioned whether you're using the Red Hat package or built the 2.5.2p2 yourself. You could try the package, which has a chance to work (but doesn't have to).&lt;BR /&gt;&lt;BR /&gt;Of course, there may be problems other than this one, but what you have now shouldn't work. ;-)</description>
      <pubDate>Thu, 12 Apr 2001 20:47:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-problem-on-ux-11/m-p/2516290#M758231</guid>
      <dc:creator>Alexander Peslyak</dc:creator>
      <dc:date>2001-04-12T20:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: openssh problem on UX-11</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/openssh-problem-on-ux-11/m-p/2516291#M758232</link>
      <description>Thanks for an explanation of the problem. The -c option did the trick. I wish someone would release a depot for 2.5.2p2. (I have been trying to compile it myself, but am having trouble with aCC.)&lt;BR /&gt;&lt;BR /&gt;Thanks again.</description>
      <pubDate>Fri, 13 Apr 2001 12:29:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/openssh-problem-on-ux-11/m-p/2516291#M758232</guid>
      <dc:creator>Brian Bergstrand</dc:creator>
      <dc:date>2001-04-13T12:29:55Z</dc:date>
    </item>
  </channel>
</rss>

