<?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-keygen problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keygen-problems/m-p/2639989#M43370</link>
    <description>I've only seen this sort of message with incompatible versions of ssh...&lt;BR /&gt;&lt;BR /&gt;Are you versions both the same?&lt;BR /&gt;</description>
    <pubDate>Mon, 07 Jan 2002 13:45:02 GMT</pubDate>
    <dc:creator>David Lodge</dc:creator>
    <dc:date>2002-01-07T13:45:02Z</dc:date>
    <item>
      <title>ssh-keygen problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keygen-problems/m-p/2639988#M43369</link>
      <description>Guys,&lt;BR /&gt;&lt;BR /&gt;I try to make two machines trust eachother via ssh. I've created on both machines a rsa key. And copied the public keys to eachothers "authorized_keys" files. On one machine I still get the question for the password. On the other, the connections gets closed, and the syslogs shows:Jan  7 14:14:23 sd0-par3 sshd[7135]: fatal: buffer_get: trying to get more bytes&lt;BR /&gt; 129 than in buffer 34&lt;BR /&gt;&lt;BR /&gt;How can I fix this? What do I do wrong?&lt;BR /&gt;&lt;BR /&gt;Thnx!&lt;BR /&gt;&lt;BR /&gt;Leon</description>
      <pubDate>Mon, 07 Jan 2002 13:15:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keygen-problems/m-p/2639988#M43369</guid>
      <dc:creator>Leon van Ofwegen</dc:creator>
      <dc:date>2002-01-07T13:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: ssh-keygen problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keygen-problems/m-p/2639989#M43370</link>
      <description>I've only seen this sort of message with incompatible versions of ssh...&lt;BR /&gt;&lt;BR /&gt;Are you versions both the same?&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jan 2002 13:45:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keygen-problems/m-p/2639989#M43370</guid>
      <dc:creator>David Lodge</dc:creator>
      <dc:date>2002-01-07T13:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: ssh-keygen problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keygen-problems/m-p/2639990#M43371</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;SSH2 should be used instead of SSH1 for security reasons.&lt;BR /&gt;&lt;BR /&gt;If you are using the SSH-Communication's SSH2, then on the client you are connecting from, you must create the file "identification" which contains the link to the private key ie.&lt;BR /&gt;&lt;BR /&gt;IdKey id_dsa_1024_a&lt;BR /&gt;&lt;BR /&gt;On the server you are connecting to, you must create the file "authorization" which contains the link to the public key ie.&lt;BR /&gt;&lt;BR /&gt;Key id_dsa_1024_a.pub&lt;BR /&gt;&lt;BR /&gt;id_dsa_1024_a.pub is the public key you have to copy from the client to the server.&lt;BR /&gt;&lt;BR /&gt;Subsequently, you should not be prompted for a password once the client host key is saved on the server upon the first ssh connection.&lt;BR /&gt;&lt;BR /&gt;In /etc/ssh2/sshd2_config, remember to enable publickey as one of the authentication methods.&lt;BR /&gt;&lt;BR /&gt;Hope this helps. Regards.&lt;BR /&gt;&lt;BR /&gt;Steven Sim Kok Leong&lt;BR /&gt;Brainbench MVP for Unix Admin&lt;BR /&gt;&lt;A href="http://www.brainbench.com" target="_blank"&gt;http://www.brainbench.com&lt;/A&gt;</description>
      <pubDate>Mon, 07 Jan 2002 14:12:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keygen-problems/m-p/2639990#M43371</guid>
      <dc:creator>Steven Sim Kok Leong</dc:creator>
      <dc:date>2002-01-07T14:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: ssh-keygen problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keygen-problems/m-p/2639991#M43372</link>
      <description>Hi Leon,&lt;BR /&gt;&lt;BR /&gt;This precisely is what you would need to do.&lt;BR /&gt;&lt;BR /&gt;1. Generate key using ssh-keygen&lt;BR /&gt;2. Copy identity.pub as authorized_keys on the target system into the corresponding .ssh directory.&lt;BR /&gt;3. You would need to run ssh-agent with ssh-add to remember the passphrase on the system.&lt;BR /&gt;&lt;BR /&gt;Step 3 is required so that the system will not prompt for the passphrases.&lt;BR /&gt;&lt;BR /&gt;Checkout ssh-agent man page for more details.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Mon, 07 Jan 2002 14:17:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keygen-problems/m-p/2639991#M43372</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2002-01-07T14:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: ssh-keygen problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keygen-problems/m-p/2639992#M43373</link>
      <description>As mentioned before, your versions should be the same. Also you should match the protocol's they use as well. I have set up plenty of key based trusts, here is my notes for doing so. &lt;BR /&gt;&lt;BR /&gt;GL,&lt;BR /&gt;C&lt;BR /&gt;&lt;BR /&gt;5) Generate /opt/openssh2/etc/ssh_host_key &lt;BR /&gt;   /opt/openssh2/bin/ssh-keygen -b 1024 -f /opt/openssh2/etc/ssh_host_key -N ''&lt;BR /&gt;      &lt;BR /&gt;6) Generate root's key   &lt;BR /&gt;   /opt/openssh2/bin/ssh-keygen&lt;BR /&gt;   press enter when prompted for file location&lt;BR /&gt;   press enter when prompted for passphrase&lt;BR /&gt;   &lt;BR /&gt;7) Add /opt/openssh2/bin to root's .profile&lt;BR /&gt;   cd &lt;BR /&gt;   vi .profile&lt;BR /&gt;   PATH=/usr/sbin:$PATH:/sbin:/opt/openssh2/bin:(make sure these entries match)&lt;BR /&gt;&lt;BR /&gt;8) cd /opt/openssh2/etc&lt;BR /&gt;   vi sshd_config &lt;BR /&gt;   #HostKey /opt/openssh2/etc/ssh_host_dsa_key&lt;BR /&gt;   IgnoreRhosts no&lt;BR /&gt;   RhostsAuthentication yes&lt;BR /&gt;   RhostsRSAAuthentication yes&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;12) Setup trust &lt;BR /&gt;   On the host1:&lt;BR /&gt;   cd /roots/.ssh&lt;BR /&gt;   scp identity.pub client_hostname:/roots/.ssh/identity.pub.host1 (where the&lt;BR /&gt;   client_hostname is the name of the box you are installing ssh on)&lt;BR /&gt;   On host2&lt;BR /&gt;   cd /roots/.ssh&lt;BR /&gt;   cat identity.pub.host1 &amp;gt;&amp;gt; authorized_keys&lt;BR /&gt;&lt;BR /&gt;13) Try the trust connection&lt;BR /&gt;   On host1:&lt;BR /&gt;   ssh -v client_hostname (watch for errors in the output, you should get in without&lt;BR /&gt;   being prompted for a password)&lt;BR /&gt;</description>
      <pubDate>Mon, 07 Jan 2002 14:21:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keygen-problems/m-p/2639992#M43373</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2002-01-07T14:21:02Z</dc:date>
    </item>
    <item>
      <title>Re: ssh-keygen problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keygen-problems/m-p/2639993#M43374</link>
      <description>The ssh/ssl versions are the same. (same depot file) machines are the same as well. (two nodes in a superdome). &lt;BR /&gt;&lt;BR /&gt;I will try your procedures, and let you know the results!&lt;BR /&gt;&lt;BR /&gt;Thnx&lt;BR /&gt;&lt;BR /&gt;Leon</description>
      <pubDate>Mon, 07 Jan 2002 15:19:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keygen-problems/m-p/2639993#M43374</guid>
      <dc:creator>Leon van Ofwegen</dc:creator>
      <dc:date>2002-01-07T15:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: ssh-keygen problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keygen-problems/m-p/2639994#M43375</link>
      <description>Problem solved. The rights on the authorized_keys file was wrong, also I copied the pub keys as 3 lines, instead of 1. And final, there were some errors in the sshd.config file.&lt;BR /&gt;&lt;BR /&gt;Thanks for your help!&lt;BR /&gt;&lt;BR /&gt;Leon</description>
      <pubDate>Tue, 08 Jan 2002 13:38:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-keygen-problems/m-p/2639994#M43375</guid>
      <dc:creator>Leon van Ofwegen</dc:creator>
      <dc:date>2002-01-08T13:38:36Z</dc:date>
    </item>
  </channel>
</rss>

