<?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 private/public key authentication in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-private-public-key-authentication/m-p/5007987#M739265</link>
    <description>Always seems to be one of two things.&lt;BR /&gt;&lt;BR /&gt;Either the public key was pasted into the authorized_keys file or the permissions are wrong.&lt;BR /&gt;&lt;BR /&gt;700 or 600 on all.&lt;BR /&gt;</description>
    <pubDate>Wed, 11 Oct 2006 14:36:57 GMT</pubDate>
    <dc:creator>Tim Nelson</dc:creator>
    <dc:date>2006-10-11T14:36:57Z</dc:date>
    <item>
      <title>ssh private/public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-private-public-key-authentication/m-p/5007983#M739261</link>
      <description>Hi,&lt;BR /&gt;I´ve generated private and public keys with ssh-keygen -t dsa  in two servers for non-root user (oracle in this case). I use default files for keys but it doesn´t work properly, i´ve not entered passphrase but the server response waiting for user´s password, why is it? it shouldn´t do this. These are the debug lines with ssh -v host:&lt;BR /&gt;$ ssh -v safi_iur&lt;BR /&gt;OpenSSH_4.1, OpenSSL 0.9.7e 25 Oct 2004&lt;BR /&gt;HP-UX Secure Shell-A.04.00.000, HP-UX Secure Shell version&lt;BR /&gt;debug1: Reading configuration data /opt/ssh/etc/ssh_config&lt;BR /&gt;debug1: Connecting to safi_iur [172.20.32.107] port 22.&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug1: identity file /extend/oracle/.ssh/id_rsa type -1&lt;BR /&gt;debug1: identity file /extend/oracle/.ssh/id_dsa type 2&lt;BR /&gt;debug1: Remote protocol version 2.0, remote software version OpenSSH_3.8&lt;BR /&gt;debug1: match: OpenSSH_3.8 pat OpenSSH_3.*&lt;BR /&gt;debug1: Enabling compatibility mode for protocol 2.0&lt;BR /&gt;debug1: Local version string SSH-2.0-OpenSSH_4.1&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT sent&lt;BR /&gt;debug1: SSH2_MSG_KEXINIT received&lt;BR /&gt;debug1: kex: server-&amp;gt;client aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: kex: client-&amp;gt;server aes128-cbc hmac-md5 none&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024&amp;lt;1024&amp;lt;8192) sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP&lt;BR /&gt;debug1: SSH2_MSG_KEX_DH_GEX_INIT sent&lt;BR /&gt;debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY&lt;BR /&gt;debug1: Host 'safi_iur' is known and matches the RSA host key.&lt;BR /&gt;debug1: Found key in /extend/oracle/.ssh/known_hosts:1&lt;BR /&gt;debug1: ssh_rsa_verify: signature correct&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS sent&lt;BR /&gt;debug1: expecting SSH2_MSG_NEWKEYS&lt;BR /&gt;debug1: SSH2_MSG_NEWKEYS received&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_REQUEST sent&lt;BR /&gt;debug1: SSH2_MSG_SERVICE_ACCEPT received&lt;BR /&gt;debug1: Authentications that can continue: publickey,keyboard-interactive&lt;BR /&gt;debug1: Next authentication method: publickey&lt;BR /&gt;debug1: Trying private key: /extend/oracle/.ssh/id_rsa&lt;BR /&gt;debug1: Offering public key: /extend/oracle/.ssh/id_dsa&lt;BR /&gt;debug1: Authentications that can continue: publickey,keyboard-interactive&lt;BR /&gt;debug1: Next authentication method: keyboard-interactive&lt;BR /&gt;Password:&lt;BR /&gt;&lt;BR /&gt;One more question, it´s possible than another keys exist from time before, any problem if i delete id_dsa´s ?</description>
      <pubDate>Wed, 11 Oct 2006 09:27:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-private-public-key-authentication/m-p/5007983#M739261</guid>
      <dc:creator>Andrew_adm</dc:creator>
      <dc:date>2006-10-11T09:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: ssh private/public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-private-public-key-authentication/m-p/5007984#M739262</link>
      <description>Most of the key-exchange problems I've run into were permissions-related. &lt;BR /&gt;&lt;BR /&gt;Check /var/adm/syslog/syslog.log for any errors thrown by ssh.</description>
      <pubDate>Wed, 11 Oct 2006 10:02:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-private-public-key-authentication/m-p/5007984#M739262</guid>
      <dc:creator>Jonathan Fife</dc:creator>
      <dc:date>2006-10-11T10:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: ssh private/public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-private-public-key-authentication/m-p/5007985#M739263</link>
      <description>You can delete any id_dsa files that you want, but ensure that you transfer the new id_dsa.pub files to the remote host if you generate a new key.&lt;BR /&gt;&lt;BR /&gt;Also, ensure that the permissions for the files are correct, in both hosts run:&lt;BR /&gt;&lt;BR /&gt;chown -R oracle .ssh&lt;BR /&gt;chmod go-w .ssh</description>
      <pubDate>Wed, 11 Oct 2006 12:14:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-private-public-key-authentication/m-p/5007985#M739263</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-10-11T12:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: ssh private/public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-private-public-key-authentication/m-p/5007986#M739264</link>
      <description>Permissions to check are -&lt;BR /&gt;Your home directory.  Try 750 or 755.&lt;BR /&gt;The ~/.ssh directory.  Set to 700&lt;BR /&gt;The ~/.ssh/authorized_keys file.  Set to 600&lt;BR /&gt;&lt;BR /&gt;Also make sure ownership is appropriate on all the above.&lt;BR /&gt;&lt;BR /&gt;These are the most common problems.&lt;BR /&gt;&lt;BR /&gt;JohnK</description>
      <pubDate>Wed, 11 Oct 2006 14:35:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-private-public-key-authentication/m-p/5007986#M739264</guid>
      <dc:creator>John Kelly_3</dc:creator>
      <dc:date>2006-10-11T14:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: ssh private/public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-private-public-key-authentication/m-p/5007987#M739265</link>
      <description>Always seems to be one of two things.&lt;BR /&gt;&lt;BR /&gt;Either the public key was pasted into the authorized_keys file or the permissions are wrong.&lt;BR /&gt;&lt;BR /&gt;700 or 600 on all.&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Oct 2006 14:36:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-private-public-key-authentication/m-p/5007987#M739265</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2006-10-11T14:36:57Z</dc:date>
    </item>
    <item>
      <title>Re: ssh private/public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-private-public-key-authentication/m-p/5007988#M739266</link>
      <description>The problem was fixed, i think he permissions werenÂ´t the only thing, one server had a 04.00.20 version and the other a 03.80.X, the connection worked properly un sense 04.00 to 03.80, i upgraded to 04.00 and actually, the authentication works in the two ways. The actual permission are 750 for oracle userÂ´s home, 700 for .ssh and 600 for id_dsa.&lt;BR /&gt;Thanks a lot for your help.&lt;BR /&gt;Regards.</description>
      <pubDate>Fri, 13 Oct 2006 07:51:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-private-public-key-authentication/m-p/5007988#M739266</guid>
      <dc:creator>Andrew_adm</dc:creator>
      <dc:date>2006-10-13T07:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: ssh private/public key authentication</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-private-public-key-authentication/m-p/5007989#M739267</link>
      <description>Closed xD.&lt;BR /&gt;Bye, and thx again!</description>
      <pubDate>Fri, 13 Oct 2006 07:53:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-private-public-key-authentication/m-p/5007989#M739267</guid>
      <dc:creator>Andrew_adm</dc:creator>
      <dc:date>2006-10-13T07:53:37Z</dc:date>
    </item>
  </channel>
</rss>

