<?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 hostbased authentication in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ssh-hostbased-authentication/m-p/3476706#M16170</link>
    <description>Did you take the contents of system A's ssh_host_key.pub and put them in system B's ~/.ssh/authorized_keys file? If not, then it won't use the public key auth... and from your question, I assume that this is what you're trying to setup.&lt;BR /&gt;&lt;BR /&gt;I'm pretty sure someone on the ITRC Forums (hpux) had a mini how-to for what you're trying to setup. I'll post the link when I come across it again.&lt;BR /&gt;&lt;BR /&gt;Until then, you need to take host A's ssh key and "cat ssh_key.pub &amp;gt;&amp;gt; ~/.ssh/authorized_keys" on host B. Then when you ssh from host A to host B it should work... unless the pub key on host isn't in a standard location or name. In that case when you ssh from host A you would use "-i /path/your_ssh_key" option. Check out the ssh man page for details.&lt;BR /&gt;&lt;BR /&gt;For troubleshooting on the client, you can also add "-vvv" option to your ssh syntax.&lt;BR /&gt;&lt;BR /&gt;Hope this helps (or atleast makes some sense),&lt;BR /&gt;-denver</description>
    <pubDate>Wed, 02 Feb 2005 08:50:04 GMT</pubDate>
    <dc:creator>Denver Osborn</dc:creator>
    <dc:date>2005-02-02T08:50:04Z</dc:date>
    <item>
      <title>SSH hostbased authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-hostbased-authentication/m-p/3476705#M16169</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;can somebody point me to a good documentation on how to setup ssh hostbased authentication from linux to linux as well as from linux to HP-UX ?&lt;BR /&gt;&lt;BR /&gt;i have read many different documents but none of them has had a working solution for me.&lt;BR /&gt;i am always asked for a password when connecting from system A to system B, i have copied over my ssh_host_key.pub and configured the daemons right (hopefully) but without success ....&lt;BR /&gt;on linux i use OpenSSH3.8p1-33 and on HPUX i use HP-UX Secure Shell 3.81.004&lt;BR /&gt;&lt;BR /&gt;any help very welcome..&lt;BR /&gt;&lt;BR /&gt;Matthias</description>
      <pubDate>Wed, 02 Feb 2005 08:30:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-hostbased-authentication/m-p/3476705#M16169</guid>
      <dc:creator>Matthias Bayer</dc:creator>
      <dc:date>2005-02-02T08:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: SSH hostbased authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-hostbased-authentication/m-p/3476706#M16170</link>
      <description>Did you take the contents of system A's ssh_host_key.pub and put them in system B's ~/.ssh/authorized_keys file? If not, then it won't use the public key auth... and from your question, I assume that this is what you're trying to setup.&lt;BR /&gt;&lt;BR /&gt;I'm pretty sure someone on the ITRC Forums (hpux) had a mini how-to for what you're trying to setup. I'll post the link when I come across it again.&lt;BR /&gt;&lt;BR /&gt;Until then, you need to take host A's ssh key and "cat ssh_key.pub &amp;gt;&amp;gt; ~/.ssh/authorized_keys" on host B. Then when you ssh from host A to host B it should work... unless the pub key on host isn't in a standard location or name. In that case when you ssh from host A you would use "-i /path/your_ssh_key" option. Check out the ssh man page for details.&lt;BR /&gt;&lt;BR /&gt;For troubleshooting on the client, you can also add "-vvv" option to your ssh syntax.&lt;BR /&gt;&lt;BR /&gt;Hope this helps (or atleast makes some sense),&lt;BR /&gt;-denver</description>
      <pubDate>Wed, 02 Feb 2005 08:50:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-hostbased-authentication/m-p/3476706#M16170</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2005-02-02T08:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: SSH hostbased authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-hostbased-authentication/m-p/3476707#M16171</link>
      <description>Found the thread I was thinking about. Chris Vail posted and attached an easy to follow how-to.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=184587" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=184587&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps,&lt;BR /&gt;-denver</description>
      <pubDate>Wed, 02 Feb 2005 09:02:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-hostbased-authentication/m-p/3476707#M16171</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2005-02-02T09:02:43Z</dc:date>
    </item>
    <item>
      <title>Re: SSH hostbased authentication</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-hostbased-authentication/m-p/3476708#M16172</link>
      <description>Hi Denver,&lt;BR /&gt;&lt;BR /&gt;thanks for all this information.&lt;BR /&gt;maybe i have just misunderstood the whole 'hostbased' thing ... &lt;BR /&gt;everything you described works for me as well but this requires an already existing key for user root on system B. after a fresh install there is no key for user root available but there is a ssh_host_key.pub already available and i thought copying this key (istead of craeting an key for user root) to /etc/ssh/authorized_keys would work - but it doesn't.&lt;BR /&gt;&lt;BR /&gt;so am i wrong or is this user-based authentication when i use the keys from both root users ? i thought using the host_key files is host based authentication ... correct me if i am wrong but i still can't make it work with the host_key.. the solution with the keys from the root users works fine.&lt;BR /&gt;&lt;BR /&gt;thanks for helping.&lt;BR /&gt;&lt;BR /&gt;Matthias</description>
      <pubDate>Wed, 02 Feb 2005 10:43:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-hostbased-authentication/m-p/3476708#M16172</guid>
      <dc:creator>Matthias Bayer</dc:creator>
      <dc:date>2005-02-02T10:43:04Z</dc:date>
    </item>
  </channel>
</rss>

