<?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 authentication problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039076#M302579</link>
    <description>Bill,&lt;BR /&gt;&lt;BR /&gt;Check, check and check. All looks good yet it still asks for a password. Could it be that the server cannot have a lower version than the client?&lt;BR /&gt;&lt;BR /&gt;server=OpenSSH 3.5 on hp-ux 11.23 &lt;BR /&gt;client=OpenSSH 4.2 on solaris 8&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 18 Jul 2007 15:12:44 GMT</pubDate>
    <dc:creator>dictum9</dc:creator>
    <dc:date>2007-07-18T15:12:44Z</dc:date>
    <item>
      <title>SSH authentication problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039073#M302576</link>
      <description>&lt;!--!*#--&gt;Trying to ssh from a Itanium box running 11.23 and OpenSSH version 4.2 to a Solaris 8 machine running OpenSSH 3.5. &lt;BR /&gt;&lt;BR /&gt;Even though I copied the public key of the client to the $HOME/.ssh/authorized_keys of the user on the ssh server box, I still cannot authenticate passwordlessly.&lt;BR /&gt;&lt;BR /&gt;I checked, $HOME/.ssh directory is 700 and all files beneath also. DNS doesn't seem to be an issue. Why is this happening?&lt;BR /&gt;&lt;BR /&gt;# ssh -v -v -v  pin@baja&lt;BR /&gt;...&lt;BR /&gt;debug2: key: /apps/acta/.ssh/id_rsa (00000000)&lt;BR /&gt;debug2: key: /apps/acta/.ssh/id_dsa (4004e8b0)&lt;BR /&gt;debug1: Authentications that can continue: publickey,password&lt;BR /&gt;debug3: start over, passed a different list publickey,password&lt;BR /&gt;debug3: preferred publickey,keyboard-interactive,password&lt;BR /&gt;debug3: authmethod_lookup publickey&lt;BR /&gt;debug3: remaining preferred: keyboard-interactive,password&lt;BR /&gt;debug3: authmethod_is_enabled publickey&lt;BR /&gt;debug1: Next authentication method: publickey&lt;BR /&gt;debug1: Trying private key: /apps/acta/.ssh/id_rsa&lt;BR /&gt;debug3: no such identity: /apps/acta/.ssh/id_rsa&lt;BR /&gt;debug1: Offering public key: /apps/acta/.ssh/id_dsa&lt;BR /&gt;debug3: send_pubkey_test&lt;BR /&gt;debug2: we sent a publickey packet, wait for reply&lt;BR /&gt;debug1: Authentications that can continue: publickey,password&lt;BR /&gt;debug2: we did not send a packet, disable method&lt;BR /&gt;^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^&lt;BR /&gt;debug3: authmethod_lookup password&lt;BR /&gt;debug3: remaining preferred: ,password&lt;BR /&gt;debug3: authmethod_is_enabled password&lt;BR /&gt;debug1: Next authentication method: password&lt;BR /&gt;pin@baja's password: &lt;BR /&gt;debug3: packet_send2: adding 24 (len 96 padlen 8 extra_pad 64)&lt;BR /&gt;debug2: we sent a password packet, wait for reply&lt;BR /&gt;debug1: Authentications that can continue: publickey,password&lt;BR /&gt;Permission denied, please try again.&lt;BR /&gt;pin@baja's password: &lt;BR /&gt;</description>
      <pubDate>Tue, 17 Jul 2007 16:35:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039073#M302576</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2007-07-17T16:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: SSH authentication problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039074#M302577</link>
      <description>The files must be 400 or 600, not 700. The .ssh directory must be 700 *and* $HOME must be 755 (no directory write capability except by owner). Make sure the public key is one line from the ssh-dsa to ==.</description>
      <pubDate>Tue, 17 Jul 2007 19:29:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039074#M302577</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-07-17T19:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: SSH authentication problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039075#M302578</link>
      <description>In linux /etc/security/access.conf limits the ssh connection from other hosts (other than the ssh keys), Check if you have something similar in solaris</description>
      <pubDate>Tue, 17 Jul 2007 20:09:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039075#M302578</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-07-17T20:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: SSH authentication problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039076#M302579</link>
      <description>Bill,&lt;BR /&gt;&lt;BR /&gt;Check, check and check. All looks good yet it still asks for a password. Could it be that the server cannot have a lower version than the client?&lt;BR /&gt;&lt;BR /&gt;server=OpenSSH 3.5 on hp-ux 11.23 &lt;BR /&gt;client=OpenSSH 4.2 on solaris 8&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Jul 2007 15:12:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039076#M302579</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2007-07-18T15:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: SSH authentication problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039077#M302580</link>
      <description>here between the linux server i have a lower version at server side. &lt;BR /&gt;&lt;BR /&gt;Still it works from lower version to higher version.But it is linux</description>
      <pubDate>Wed, 18 Jul 2007 15:21:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039077#M302580</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-07-18T15:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: SSH authentication problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039078#M302581</link>
      <description>I have worked with ssh a lot in the past but this one has me completely confused, going over the checklist everything looks good but won't authenticate without passwords. &lt;BR /&gt;&lt;BR /&gt;I am using ssh in a script so it must work without passwords.</description>
      <pubDate>Wed, 18 Jul 2007 15:25:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039078#M302581</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2007-07-18T15:25:50Z</dc:date>
    </item>
    <item>
      <title>Re: SSH authentication problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039079#M302582</link>
      <description>Hi, try to set the authorized_keys to have permission of 644 for both client and server. Take note both client and server mush have the same type of key. If the server use dsa type then client must be the same.</description>
      <pubDate>Thu, 19 Jul 2007 04:44:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039079#M302582</guid>
      <dc:creator>shardam</dc:creator>
      <dc:date>2007-07-19T04:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: SSH authentication problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039080#M302583</link>
      <description>Hi,&lt;BR /&gt;I do faced simillar problem in solaris 8 .&lt;BR /&gt;looks like the home directory of user pin on baja is not standard ( i.e /export/home/pin 755) &lt;BR /&gt;Simple would be change the home directory to standard and create soft link ..&lt;BR /&gt;&lt;BR /&gt;Also check the permission of .ssh directory (700)&lt;BR /&gt;and authorized_keys ( 600) &lt;BR /&gt;Regards,&lt;BR /&gt;Javed</description>
      <pubDate>Thu, 19 Jul 2007 05:57:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039080#M302583</guid>
      <dc:creator>Javed Khan_1</dc:creator>
      <dc:date>2007-07-19T05:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: SSH authentication problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039081#M302584</link>
      <description>Check, check and check. It's none of the above. It still defaults to the password. &lt;BR /&gt;</description>
      <pubDate>Thu, 19 Jul 2007 09:31:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039081#M302584</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2007-07-19T09:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: SSH authentication problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039082#M302585</link>
      <description>&lt;BR /&gt;Any SSH gurus???&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Here is from syslog on SSH server (Solaris 8)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Jul 19 10:34:20 bava sshd[22662]: [ID 800047 auth.info] Connection from xxx.xxx.xxx.xxx port 61587&lt;BR /&gt;Jul 19 10:34:20 bava sshd[22662]: [ID 800047 auth.info] Enabling compatibility mode for protocol 2.0&lt;BR /&gt;Jul 19 10:34:20 bava sshd[22662]: [ID 800047 auth.info] WARNING: /usr/local/etc/primes does not exist, using old prime&lt;BR /&gt;Jul 19 10:34:20 bava sshd[22662]: [ID 800047 auth.info] Failed none for user1 from xxx.xxx.xxx.xxx port 61587 ssh2&lt;BR /&gt;Jul 19 10:34:20 bava sshd[22662]: [ID 800047 auth.info] Failed publickey for user1 from xxx.xxx.xxx.xxx port 61587 ssh2&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Jul 2007 09:41:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039082#M302585</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2007-07-19T09:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: SSH authentication problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039083#M302586</link>
      <description>I figured it out!&lt;BR /&gt;&lt;BR /&gt;Because I am using protocol 2 only, they public keys need to go to the file&lt;BR /&gt;&lt;BR /&gt;$HOME/.ssh/authorized_keys2&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Jul 2007 10:22:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039083#M302586</guid>
      <dc:creator>dictum9</dc:creator>
      <dc:date>2007-07-19T10:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: SSH authentication problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039084#M302587</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;Check the sshd_config for "PubkeyAuthentication no".  It should default to yes, but if someone doesn't like PKA, they may have reset it.  Also check on the other entries in that file for anything that looks untoward.&lt;BR /&gt;&lt;BR /&gt;Finally, check ssh_config for any entries that might be messing you up.&lt;BR /&gt;&lt;BR /&gt;HTH;&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Thu, 19 Jul 2007 10:27:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039084#M302587</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2007-07-19T10:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: SSH authentication problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039085#M302588</link>
      <description>etc,&lt;BR /&gt;&lt;BR /&gt;Have a look at these configuration instructions.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.sun.com/bigadmin/content/submitted/ssh_setting.html" target="_blank"&gt;http://www.sun.com/bigadmin/content/submitted/ssh_setting.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 23 Jul 2007 04:59:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authentication-problems/m-p/4039085#M302588</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2007-07-23T04:59:28Z</dc:date>
    </item>
  </channel>
</rss>

