<?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 authorized_keys not working in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090038#M738332</link>
    <description>All the above and...&lt;BR /&gt;&lt;BR /&gt;/var/adm/syslog/syslog.log does a good job at pointing out the ssh issues if any.  Especially if the home directory permissions are wrong.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 22 Oct 2007 16:57:48 GMT</pubDate>
    <dc:creator>Tim Nelson</dc:creator>
    <dc:date>2007-10-22T16:57:48Z</dc:date>
    <item>
      <title>ssh authorized_keys not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090031#M738325</link>
      <description>i have authorized keys set up between 2 servers for the root and oracle accounts. the ssh connection is working 3 of the 4 ways without a passwd. i.e.&lt;BR /&gt;&lt;BR /&gt;ssh is working without a passwd ...&lt;BR /&gt;root server1 to root server2&lt;BR /&gt;root server2 to root server1&lt;BR /&gt;oracle server2 to oracle server1&lt;BR /&gt;&lt;BR /&gt;ssh is not working ...&lt;BR /&gt;&lt;BR /&gt;oracle server1 to oracle server2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;all of the keys have been set up and copied exactly the same way. i have also regenerated the key and redone the process multiple times for that account. i have checked filesystem permissoins. And i have verified the sshd_config file is the same on both servers. &lt;BR /&gt;&lt;BR /&gt;This is driving me absolutely nuts. Please help!&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Oct 2007 12:54:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090031#M738325</guid>
      <dc:creator>CRollins</dc:creator>
      <dc:date>2007-10-22T12:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: ssh authorized_keys not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090032#M738326</link>
      <description>Try doing an 'ssh -v' or 'ssh -vvv' between server1 and server2 as oracle and see what errors come up.&lt;BR /&gt;&lt;BR /&gt;Generally ssh not working is due to permissions being too  open on the home directory, the .ssh dir in the home directory or the files in the .ssh dir.</description>
      <pubDate>Mon, 22 Oct 2007 13:01:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090032#M738326</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-10-22T13:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: ssh authorized_keys not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090033#M738327</link>
      <description>$ ssh -v server2&lt;BR /&gt;OpenSSH_4.5p1+sftpfilecontrol-v1.1-hpn12v14, OpenSSL 0.9.7l 28 Sep 2006&lt;BR /&gt;HP-UX Secure Shell-A.04.50.003, HP-UX Secure Shell version&lt;BR /&gt;debug1: Reading configuration data /opt/ssh/etc/ssh_config&lt;BR /&gt;debug1: Connecting to kdippi2 [166.20.121.29] port 22.&lt;BR /&gt;debug1: Connection established.&lt;BR /&gt;debug1: identity file /u01/app/oracle/.ssh/id_rsa type 1&lt;BR /&gt;debug1: identity file /u01/app/oracle/.ssh/id_dsa type -1&lt;BR /&gt;debug1: Remote protocol version 2.0, remote software version OpenSSH_4.5p1+sftpfilecontrol-v1.1-hpn12v14&lt;BR /&gt;debug1: match: OpenSSH_4.5p1+sftpfilecontrol-v1.1-hpn12v14 pat OpenSSH*&lt;BR /&gt;debug1: Enabling compatibility mode for protocol 2.0&lt;BR /&gt;debug1: Local version string SSH-2.0-OpenSSH_4.5p1+sftpfilecontrol-v1.1-hpn12v14&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 'kdippi2' is known and matches the RSA host key.&lt;BR /&gt;debug1: Found key in /u01/app/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,password,keyboard-interactive&lt;BR /&gt;debug1: Next authentication method: publickey&lt;BR /&gt;debug1: Offering public key: /u01/app/oracle/.ssh/id_rsa&lt;BR /&gt;debug1: Authentications that can continue: publickey,password,keyboard-interactive&lt;BR /&gt;debug1: Trying private key: /u01/app/oracle/.ssh/id_dsa&lt;BR /&gt;debug1: Next authentication method: keyboard-interactive&lt;BR /&gt;Password:&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Oct 2007 13:04:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090033#M738327</guid>
      <dc:creator>CRollins</dc:creator>
      <dc:date>2007-10-22T13:04:01Z</dc:date>
    </item>
    <item>
      <title>Re: ssh authorized_keys not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090034#M738328</link>
      <description>Hmm...Not much there.  Check /var/adm/syslog/syslog.log on server2 for any ssh related errors.</description>
      <pubDate>Mon, 22 Oct 2007 13:06:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090034#M738328</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-10-22T13:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: ssh authorized_keys not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090035#M738329</link>
      <description>do you know what the permissions should be?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Oct 22 14:13:37 server1 sshd[2761]: Authentication refused: bad ownership or modes for directory /u01/app/oracle&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Oct 2007 13:12:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090035#M738329</guid>
      <dc:creator>CRollins</dc:creator>
      <dc:date>2007-10-22T13:12:56Z</dc:date>
    </item>
    <item>
      <title>Re: ssh authorized_keys not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090036#M738330</link>
      <description>Compare to the permissions for the oracle dir between server1 and server2.  Since it appears that server2 to server1 works, try setting the permissions on server2 to the same as server1.</description>
      <pubDate>Mon, 22 Oct 2007 13:28:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090036#M738330</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-10-22T13:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: ssh authorized_keys not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090037#M738331</link>
      <description>Hey;&lt;BR /&gt;&lt;BR /&gt;permissions should be &lt;BR /&gt;&lt;BR /&gt;no more than 755 for ${HOME}&lt;BR /&gt;700 for ~/.ssh and &lt;BR /&gt;no more than 644 for ~/.ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;Oracle installations tend to use 775 for directories and 664 for files as it allows dba group write access.  That will prevent ssh/PKA from working.&lt;BR /&gt;&lt;BR /&gt;Doug</description>
      <pubDate>Mon, 22 Oct 2007 15:07:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090037#M738331</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2007-10-22T15:07:54Z</dc:date>
    </item>
    <item>
      <title>Re: ssh authorized_keys not working</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090038#M738332</link>
      <description>All the above and...&lt;BR /&gt;&lt;BR /&gt;/var/adm/syslog/syslog.log does a good job at pointing out the ssh issues if any.  Especially if the home directory permissions are wrong.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 22 Oct 2007 16:57:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-authorized-keys-not-working/m-p/4090038#M738332</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2007-10-22T16:57:48Z</dc:date>
    </item>
  </channel>
</rss>

