<?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: Passwordless login in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282740#M474573</link>
    <description>&lt;BR /&gt;ssh_known_hosts</description>
    <pubDate>Mon, 23 May 2011 22:57:34 GMT</pubDate>
    <dc:creator>user001</dc:creator>
    <dc:date>2011-05-23T22:57:34Z</dc:date>
    <item>
      <title>Passwordless login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282732#M474565</link>
      <description>&lt;BR /&gt;Hello,&lt;BR /&gt;I'm trying to setup passwordless login on HPUX 11.31.&lt;BR /&gt;&lt;BR /&gt;On our old box the ssh_config has authorized_keys commented out and its working OK.&lt;BR /&gt;&lt;BR /&gt;How else can you setup ssh passwordless login? I thought it could only be done using the authorized_keys file.&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Fri, 20 May 2011 06:01:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282732#M474565</guid>
      <dc:creator>user001</dc:creator>
      <dc:date>2011-05-20T06:01:42Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282733#M474566</link>
      <description>The authorized_keys file is used by sshd, not by the ssh client. So you'll find the configuration in sshd_config, not in ssh_config.&lt;BR /&gt;&lt;BR /&gt;Furthermore, the built-in default for user's authorized_keys file is $HOME/.ssh/authorized_keys. It's often included in commented form in sshd_config to document the factory default settings.&lt;BR /&gt;&lt;BR /&gt;To stop SSH passwordless logins, you must explicitly set "PubkeyAuthentication no" (for SSH protocol version 2) and "RSAAuthentication no" (for SSH protocol version 1 which you shouldn't be using anyway).&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 20 May 2011 07:02:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282733#M474566</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-05-20T07:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282734#M474567</link>
      <description>First generate a key for user, login as the user: &lt;BR /&gt;cd $HOME &lt;BR /&gt;mkdir .ssh &lt;BR /&gt;chmod 700 .ssh &lt;BR /&gt;cd .ssh &lt;BR /&gt;ssh-keygen -b 1024 -t dsa -f identity &lt;BR /&gt;&lt;BR /&gt;copy the identity.pub file on other machine.&lt;BR /&gt;&lt;BR /&gt;$HOME/.ssh//identity.pub &amp;gt;&amp;gt; &lt;REMOTE_MACHINE&gt;:$HOME/&lt;REMOTE_USERNAME&gt;/.ssh/authorized_keys &lt;BR /&gt;&lt;BR /&gt;permissions must be 600.&lt;/REMOTE_USERNAME&gt;&lt;/REMOTE_MACHINE&gt;</description>
      <pubDate>Fri, 20 May 2011 12:59:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282734#M474567</guid>
      <dc:creator>AwadheshPandey</dc:creator>
      <dc:date>2011-05-20T12:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282735#M474568</link>
      <description>&lt;!--!*#--&gt;&amp;gt; [...] the ssh_config has authorized_keys&lt;BR /&gt;&amp;gt; commented out and its working OK.&lt;BR /&gt;&lt;BR /&gt;As the comments in the file should explain,&lt;BR /&gt;many SSH configuration files are supplied&lt;BR /&gt;with the default settings shown by comments.&lt;BR /&gt;So, removing the "#" from such a line may do&lt;BR /&gt;approximately nothing.  If you wanted to&lt;BR /&gt;store your authorized-key data in a file with&lt;BR /&gt;some other path/name, _then_ you might want a&lt;BR /&gt;non-comment "authorized_keys" directive in&lt;BR /&gt;that file.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; On our old box [...]&lt;BR /&gt;&lt;BR /&gt;As usual, adding "-v" (or "-vv", ...) to a&lt;BR /&gt;working "ssh" (client) command can reveal&lt;BR /&gt;what the thing is doing, and (with enough&lt;BR /&gt;v's) the "ssh" diagnostic messages might&lt;BR /&gt;mention the use of "authorized_keys" (or&lt;BR /&gt;whatever), but if the SSH server is the one&lt;BR /&gt;who cares, then you might not hear about it&lt;BR /&gt;from the client side.</description>
      <pubDate>Fri, 20 May 2011 13:19:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282735#M474568</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-05-20T13:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282736#M474569</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;thanks for the replies.&lt;BR /&gt;&lt;BR /&gt;I guess i'm looking for alernate ways other than the authorized_keys file. I know how this one works.&lt;BR /&gt;&lt;BR /&gt;I have a couple of HPUX currently connecting without passwords and without the authorized_keys file. So something else is happening here, i think it has something to do with the .shosts file.&lt;BR /&gt;&lt;BR /&gt;I'll keep looking into it.&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Sun, 22 May 2011 20:57:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282736#M474569</guid>
      <dc:creator>user001</dc:creator>
      <dc:date>2011-05-22T20:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282737#M474570</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I have a couple of HPUX currently&lt;BR /&gt;&amp;gt; connecting without passwords and without&lt;BR /&gt;&amp;gt; the authorized_keys file. So something else&lt;BR /&gt;&amp;gt; is happening here, [...]&lt;BR /&gt;&lt;BR /&gt;&amp;gt; As usual, adding "-v" (or "-vv", ...) to a&lt;BR /&gt;&amp;gt; working "ssh" (client) command can reveal&lt;BR /&gt;&amp;gt; what the thing is doing, [...]&lt;BR /&gt;&lt;BR /&gt;Still true.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;  i think it has something to do with the&lt;BR /&gt;&amp;gt; .shosts file.&lt;BR /&gt;&lt;BR /&gt;There is a "hostbased" authentication scheme,&lt;BR /&gt;which you could be using.  I don't use it, so&lt;BR /&gt;I know nothing, but it sounds plausible here.&lt;BR /&gt;Inspection of that "-v[v[v]]" diagnostic&lt;BR /&gt;output really might be helpful.  Honest.</description>
      <pubDate>Sun, 22 May 2011 21:13:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282737#M474570</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-05-22T21:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282738#M474571</link>
      <description>&lt;BR /&gt;Got it working.&lt;BR /&gt;&lt;BR /&gt;I think i'll be ditching hostbased auth seems less secure than exchanging both host keys on the servers?&lt;BR /&gt;&lt;BR /&gt;i had to import the key into ssh_host_key.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;</description>
      <pubDate>Sun, 22 May 2011 23:54:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282738#M474571</guid>
      <dc:creator>user001</dc:creator>
      <dc:date>2011-05-22T23:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282739#M474572</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I think i'll be ditching hostbased auth&lt;BR /&gt;&amp;gt; seems less secure than exchanging both host&lt;BR /&gt;&amp;gt; keys on the servers?&lt;BR /&gt;&lt;BR /&gt;I see a question mark, but I don't see a&lt;BR /&gt;question.  Have you a question?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt; i had to import the key into ssh_host_key.&lt;BR /&gt;&lt;BR /&gt;You may think that this conveys some useful&lt;BR /&gt;information, but you may be wrong.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Using "hostbased" authentication can make&lt;BR /&gt;sense if you can be sure that any user on one&lt;BR /&gt;system should be allowed access (as that same&lt;BR /&gt;user) on another system.  In that situation,&lt;BR /&gt;it can save much effort because each user is&lt;BR /&gt;not required to create and distribute his&lt;BR /&gt;own private and public keys.  If you want&lt;BR /&gt;more fine-grained (per-user) control over&lt;BR /&gt;access, then it may be less useful.</description>
      <pubDate>Mon, 23 May 2011 14:46:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282739#M474572</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-05-23T14:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282740#M474573</link>
      <description>&lt;BR /&gt;ssh_known_hosts</description>
      <pubDate>Mon, 23 May 2011 22:57:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282740#M474573</guid>
      <dc:creator>user001</dc:creator>
      <dc:date>2011-05-23T22:57:34Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282741#M474574</link>
      <description>&lt;!--!*#--&gt;&amp;gt; ssh_known_hosts&lt;BR /&gt;&lt;BR /&gt;Thanks for that wonderfully concise&lt;BR /&gt;explanation.  Future readers are certain to&lt;BR /&gt;appreciate its value.</description>
      <pubDate>Tue, 24 May 2011 13:02:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282741#M474574</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2011-05-24T13:02:00Z</dc:date>
    </item>
    <item>
      <title>Re: Passwordless login</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282742#M474575</link>
      <description>&lt;BR /&gt;i had to put something in....the answer is in previous post seemed pointless repeating myself.</description>
      <pubDate>Tue, 24 May 2011 22:35:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/passwordless-login/m-p/5282742#M474575</guid>
      <dc:creator>user001</dc:creator>
      <dc:date>2011-05-24T22:35:38Z</dc:date>
    </item>
  </channel>
</rss>

