<?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 ask for password in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ssh-ask-for-password/m-p/5211545#M51441</link>
    <description>A good reason for a problem like this is also the permissions on the home and the .ssh directories, and the id* files.&lt;BR /&gt;&lt;BR /&gt;Ensure that these files and directories does not have write permissions for group or others.&lt;BR /&gt;&lt;BR /&gt;Check also StrictModes.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://blog.codefront.net/2007/02/28/debugging-ssh-public-key-authentication-problems/" target="_blank"&gt;http://blog.codefront.net/2007/02/28/debugging-ssh-public-key-authentication-problems/&lt;/A&gt;</description>
    <pubDate>Thu, 26 Nov 2009 19:16:36 GMT</pubDate>
    <dc:creator>Ivan Ferreira</dc:creator>
    <dc:date>2009-11-26T19:16:36Z</dc:date>
    <item>
      <title>ssh ask for password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-ask-for-password/m-p/5211543#M51439</link>
      <description>I have created a ssh key on two servers that need to ssh to each other to run commands..&lt;BR /&gt;&lt;BR /&gt;I used ssh-keygen -t dsa on each server, then created the authorized_keys file with the files: id_dsa.pub that were generated on each server...&lt;BR /&gt;&lt;BR /&gt;However when I ssh to the server via the login id for this user it still asks for a password...&lt;BR /&gt;&lt;BR /&gt;This is that same process I used for the root user and it works fine...&lt;BR /&gt;&lt;BR /&gt;I did an ssh infort1@cvoicch1, and the last few lines of the debug info are:&lt;BR /&gt;&lt;BR /&gt;debug1: Authentications that can continue: publickey,gssapi-with-mic,password&lt;BR /&gt;debug1: Next authentication method: gssapi-with-mic&lt;BR /&gt;debug1: Unspecified GSS failure.  Minor code may provide more information&lt;BR /&gt;Unknown code krb5 195&lt;BR /&gt;&lt;BR /&gt;debug1: Unspecified GSS failure.  Minor code may provide more information&lt;BR /&gt;Unknown code krb5 195&lt;BR /&gt;&lt;BR /&gt;debug1: Unspecified GSS failure.  Minor code may provide more information&lt;BR /&gt;Unknown code krb5 195&lt;BR /&gt;&lt;BR /&gt;debug2: we did not send a packet, disable method&lt;BR /&gt;debug1: Next authentication method: publickey&lt;BR /&gt;debug1: Trying private key: /osg1/home/infort1/.ssh/identity&lt;BR /&gt;debug1: Trying private key: /osg1/home/infort1/.ssh/id_rsa&lt;BR /&gt;debug1: Offering public key: /osg1/home/infort1/.ssh/id_dsa&lt;BR /&gt;debug2: we sent a publickey packet, wait for reply&lt;BR /&gt;debug1: Authentications that can continue: publickey,gssapi-with-mic,password&lt;BR /&gt;debug2: we did not send a packet, disable method&lt;BR /&gt;debug1: Next authentication method: password&lt;BR /&gt;infort1@cvoicch1's password:&lt;BR /&gt;&lt;BR /&gt;Any assistance would be appreciated...&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Nov 2009 15:27:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-ask-for-password/m-p/5211543#M51439</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2009-11-26T15:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: ssh ask for password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-ask-for-password/m-p/5211544#M51440</link>
      <description>&lt;!--!*#--&gt;&amp;gt; I have created a ssh key on two servers&lt;BR /&gt;&amp;gt; that need to ssh to each other to run&lt;BR /&gt;&amp;gt; commands..&lt;BR /&gt;&lt;BR /&gt;Servers don't run commands, users do.  Any&lt;BR /&gt;reason not to have one set of keys for this&lt;BR /&gt;user to be used on both systems?  (One reason&lt;BR /&gt;might be that someone else owns one of them,&lt;BR /&gt;and you don't want your private key data to&lt;BR /&gt;fall into foreign hands.)&lt;BR /&gt;&lt;BR /&gt;These are both GNU+Linux systems of some&lt;BR /&gt;kind, running some version on OpenSSH?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; I used ssh-keygen -t dsa on each server,&lt;BR /&gt;&amp;gt; then created the authorized_keys file with&lt;BR /&gt;&amp;gt; the files: id_dsa.pub that were generated&lt;BR /&gt;&amp;gt; on each server...&lt;BR /&gt;&lt;BR /&gt;The key data generated on which server went&lt;BR /&gt;into the authorized_keys file on which&lt;BR /&gt;server?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; debug1: Next authentication method: publickey&lt;BR /&gt;&lt;BR /&gt;Ok.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; debug1: Trying private key: /osg1/home/infort1/.ssh/identity&lt;BR /&gt;&lt;BR /&gt;Does that file exist?  (Contents?)&lt;BR /&gt;&lt;BR /&gt;debug1: Trying private key: /osg1/home/infort1/.ssh/id_rsa&lt;BR /&gt;&lt;BR /&gt;Does that file exist?  (Contents?)&lt;BR /&gt;&lt;BR /&gt;debug1: Offering public key: /osg1/home/infort1/.ssh/id_dsa&lt;BR /&gt;&lt;BR /&gt;Shouldn't that be a _private_ key?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; debug1: Next authentication method: password&lt;BR /&gt;&lt;BR /&gt;The server didn't approve of any of your&lt;BR /&gt;public key data.&lt;BR /&gt;&lt;BR /&gt;A Forum search (including HP-UX) might find&lt;BR /&gt;a large number of similar threads, many of&lt;BR /&gt;which involved solutions to similar problems.</description>
      <pubDate>Thu, 26 Nov 2009 15:55:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-ask-for-password/m-p/5211544#M51440</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-11-26T15:55:53Z</dc:date>
    </item>
    <item>
      <title>Re: ssh ask for password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-ask-for-password/m-p/5211545#M51441</link>
      <description>A good reason for a problem like this is also the permissions on the home and the .ssh directories, and the id* files.&lt;BR /&gt;&lt;BR /&gt;Ensure that these files and directories does not have write permissions for group or others.&lt;BR /&gt;&lt;BR /&gt;Check also StrictModes.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://blog.codefront.net/2007/02/28/debugging-ssh-public-key-authentication-problems/" target="_blank"&gt;http://blog.codefront.net/2007/02/28/debugging-ssh-public-key-authentication-problems/&lt;/A&gt;</description>
      <pubDate>Thu, 26 Nov 2009 19:16:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-ask-for-password/m-p/5211545#M51441</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2009-11-26T19:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: ssh ask for password</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-ask-for-password/m-p/5211546#M51442</link>
      <description>Thanks, found problem on the home directory permissions... Corrected that issue and ssh worked without prompting for password.&lt;BR /&gt;</description>
      <pubDate>Thu, 26 Nov 2009 23:58:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-ask-for-password/m-p/5211546#M51442</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2009-11-26T23:58:08Z</dc:date>
    </item>
  </channel>
</rss>

