<?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 Problem keeps asking password in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem-keeps-asking-password/m-p/5063565#M738142</link>
    <description>The permitions for the oracle home directory were 777. After changing it, it worked.&lt;BR /&gt;</description>
    <pubDate>Fri, 17 Aug 2007 12:52:43 GMT</pubDate>
    <dc:creator>Luiz Christofoletti</dc:creator>
    <dc:date>2007-08-17T12:52:43Z</dc:date>
    <item>
      <title>SSH Problem keeps asking password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem-keeps-asking-password/m-p/5063559#M738136</link>
      <description>I have two HP-UX servres (csux002 and csux011), that have host equivalences between them through ssh. Nevertheless i can't login without password with an user (oracle) from one host (csux011) to the other (csux002) even though i can login in the opposite direction and with other users (root, luiz, etc). &lt;BR /&gt;&lt;BR /&gt;Attached is the output from the following command:&lt;BR /&gt;&lt;BR /&gt;$ ssh -vvv csux002&lt;BR /&gt;&lt;BR /&gt;The versions are:&lt;BR /&gt;&lt;BR /&gt;csux011 (HP-UX 11.00)&lt;BR /&gt;HP-UX port of OpenSSH_3.1p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f&lt;BR /&gt;&lt;BR /&gt;csux002 (HP-UX 11.00)&lt;BR /&gt;HP-UX Secure Shell-A.04.30.014, HP-UX Secure Shell version&lt;BR /&gt;&lt;BR /&gt;I already reconfigured a few times, tried to configure with 1024 and 2048 bits keys. I also tried to use the key generated with the command below:&lt;BR /&gt;&lt;BR /&gt;$ ssh-keygen -e -f id_rsa.pub &amp;gt; id_rsa_new.pub&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Fri, 17 Aug 2007 10:25:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem-keeps-asking-password/m-p/5063559#M738136</guid>
      <dc:creator>Luiz Christofoletti</dc:creator>
      <dc:date>2007-08-17T10:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Problem keeps asking password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem-keeps-asking-password/m-p/5063560#M738137</link>
      <description>Luiz,&lt;BR /&gt;&lt;BR /&gt;It's complaining about however you have your public/private key set up:&lt;BR /&gt;&lt;BR /&gt;debug1: try pubkey: /home/oracle/.ssh/id_rsa&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,keyboard-interactive&lt;BR /&gt;debug1: try privkey: /home/oracle/.ssh/id_dsa&lt;BR /&gt;debug3: no such identity: /home/oracle/.ssh/id_dsa&lt;BR /&gt;debug2: we did not send a packet, disable method&lt;BR /&gt;&lt;BR /&gt;It can't match the 2 up.  Are you sure you set them up correctly?  &lt;BR /&gt;&lt;BR /&gt;John</description>
      <pubDate>Fri, 17 Aug 2007 10:30:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem-keeps-asking-password/m-p/5063560#M738137</guid>
      <dc:creator>John Payne_2</dc:creator>
      <dc:date>2007-08-17T10:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Problem keeps asking password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem-keeps-asking-password/m-p/5063561#M738138</link>
      <description>Luiz,&lt;BR /&gt;&lt;BR /&gt;Please take a look at the attached link,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1125086" target="_blank"&gt;https://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1125086&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I do recall that SSH is very picky about directory and file permissions. So these maybe worth checking.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Berd</description>
      <pubDate>Fri, 17 Aug 2007 10:42:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem-keeps-asking-password/m-p/5063561#M738138</guid>
      <dc:creator>Berd</dc:creator>
      <dc:date>2007-08-17T10:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Problem keeps asking password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem-keeps-asking-password/m-p/5063562#M738139</link>
      <description>Note that the id_rsa key is sent, but the server won't acknowledge it. There should be a line saying something like "server accepts key" after the "debug2: we sent a publickey packet, wait for reply" line.&lt;BR /&gt;&lt;BR /&gt;You might want to get the server-side debug logs to find out what causes the server to reject the key. If there is no firewall between the two computers, you could do this:&lt;BR /&gt;- on csux002:&lt;BR /&gt;execute /opt/ssh/sbin/sshd -p 2222 -ddd&lt;BR /&gt;&lt;BR /&gt;- on csux011:&lt;BR /&gt;execute ssh -vvv -p 2222 csux002&lt;BR /&gt;using the user account that has the keys set up.&lt;BR /&gt;&lt;BR /&gt;The sshd-side debug output on csux002 should reveal why the key is being ignored.&lt;BR /&gt;&lt;BR /&gt;Some common causes are:&lt;BR /&gt;- too relaxed permissions on csux002: check the permissions of the user's home directory (drwxr-xr-x is the maximum allowed; if there are any more w's, sshd won't trust any public keys it finds), ~/.ssh directory (ditto) or ~/.ssh/authorized_keys file.&lt;BR /&gt;&lt;BR /&gt;- wrong key format: as both servers use OpenSSH-derived code (HP-UX Secure Shell is an enhanced port of OpenSSH), you don't need "ssh-keygen -e".&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Fri, 17 Aug 2007 10:51:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem-keeps-asking-password/m-p/5063562#M738139</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2007-08-17T10:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Problem keeps asking password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem-keeps-asking-password/m-p/5063563#M738140</link>
      <description>Did you copy the contents of id_rsa.pub to the remote machine's .ssh/authorized_keys file?&lt;BR /&gt;&lt;BR /&gt;Your key gen command should be:&lt;BR /&gt;&lt;BR /&gt;ssh-keygen -t rsa -f id_rsa&lt;BR /&gt;&lt;BR /&gt;Also, make sure .ssh is 700 and owned by that user.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Fri, 17 Aug 2007 11:11:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem-keeps-asking-password/m-p/5063563#M738140</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2007-08-17T11:11:42Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Problem keeps asking password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem-keeps-asking-password/m-p/5063564#M738141</link>
      <description>Matti Kurkela wrote:&lt;BR /&gt;&lt;BR /&gt;- too relaxed permissions on csux002: check the permissions of the user's home directory (drwxr-xr-x is the maximum allowed; if there are any more w's, sshd won't trust any public keys it finds), ~/.ssh directory (ditto) or ~/.ssh/authorized_keys file.&lt;BR /&gt;&lt;BR /&gt;That's it. The permitions for the oracle home directory were 777. After changing it, it worked.&lt;BR /&gt;&lt;BR /&gt;Thanks a lot! :)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Aug 2007 11:34:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem-keeps-asking-password/m-p/5063564#M738141</guid>
      <dc:creator>Luiz Christofoletti</dc:creator>
      <dc:date>2007-08-17T11:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: SSH Problem keeps asking password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem-keeps-asking-password/m-p/5063565#M738142</link>
      <description>The permitions for the oracle home directory were 777. After changing it, it worked.&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Aug 2007 12:52:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-problem-keeps-asking-password/m-p/5063565#M738142</guid>
      <dc:creator>Luiz Christofoletti</dc:creator>
      <dc:date>2007-08-17T12:52:43Z</dc:date>
    </item>
  </channel>
</rss>

