<?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: Problem With Gentoo Keychain and SSH in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933163#M76839</link>
    <description>Ive done what you wish to do.&lt;BR /&gt;&lt;BR /&gt;Attached is a cookbook to help.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Fri, 21 Mar 2003 19:11:51 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-03-21T19:11:51Z</dc:date>
    <item>
      <title>Problem With Gentoo Keychain and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933162#M76838</link>
      <description>I have Gentoo Keychain 2.0.2 running on a Red Hat Linux 8.0 server. The idea is to automate the ssh login process to an HP-UX 10.20 machine.&lt;BR /&gt;The keys that were created on the Linux server was copied to the .ssh subdirectory under the appropriate user's home directory on the HP-UX machine. Their names are:&lt;BR /&gt;                authorized_keys&lt;BR /&gt;                authorized_keys2&lt;BR /&gt;                id_dsa&lt;BR /&gt;                id_dsa.pub&lt;BR /&gt;                identity&lt;BR /&gt;                identity2&lt;BR /&gt;The problem is the following: The entire login process is supposed to be automated. However, every time the user account logs in, it is prompted for the password. What configuration change must I do to have the login process completely automated?</description>
      <pubDate>Fri, 21 Mar 2003 18:22:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933162#M76838</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2003-03-21T18:22:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Gentoo Keychain and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933163#M76839</link>
      <description>Ive done what you wish to do.&lt;BR /&gt;&lt;BR /&gt;Attached is a cookbook to help.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 21 Mar 2003 19:11:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933163#M76839</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-03-21T19:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Gentoo Keychain and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933164#M76840</link>
      <description>You can use quick login with ssh client keys.&lt;BR /&gt;Check this link:&lt;BR /&gt;&lt;A href="http://hacks.oreilly.com/pub/h/66" target="_blank"&gt;http://hacks.oreilly.com/pub/h/66&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sergejs</description>
      <pubDate>Fri, 21 Mar 2003 19:18:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933164#M76840</guid>
      <dc:creator>Sergejs Svitnevs</dc:creator>
      <dc:date>2003-03-21T19:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Gentoo Keychain and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933165#M76841</link>
      <description>Steve,&lt;BR /&gt;&lt;BR /&gt;I ran through the procedure that you sent me, but unfortunately I was still prompted for a password from both the linux server and the hp-ux box.</description>
      <pubDate>Fri, 21 Mar 2003 19:41:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933165#M76841</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2003-03-21T19:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Gentoo Keychain and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933166#M76842</link>
      <description>Andrew,&lt;BR /&gt;&lt;BR /&gt;there are two things here - one is the login password, the other is pass-phrase for your key. Create a key without pass-phrase if you want a totally automated login procedure.&lt;BR /&gt;&lt;BR /&gt;You can also use ssh-agent which provides greater flexibility. See man page for more info.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Goran</description>
      <pubDate>Fri, 21 Mar 2003 20:12:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933166#M76842</guid>
      <dc:creator>Goran Koruga</dc:creator>
      <dc:date>2003-03-21T20:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Gentoo Keychain and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933167#M76843</link>
      <description>Let me point out that you absolutely MUST set the ownership and permissions as I wrote in the procedure that Stephen Protter posted.  Failing to do so results in the symptoms you mention: that you get prompted for a password.&lt;BR /&gt;&lt;BR /&gt;Chris</description>
      <pubDate>Fri, 21 Mar 2003 21:10:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933167#M76843</guid>
      <dc:creator>Chris Vail</dc:creator>
      <dc:date>2003-03-21T21:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Gentoo Keychain and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933168#M76844</link>
      <description>Chris,&lt;BR /&gt;&lt;BR /&gt;Thanks for your e-mail. I checked the permission settings on the user's home directory as well as the .ssh directory. Everything matches up ac-cording to your instructions. I'm not sure why this isn't working.</description>
      <pubDate>Fri, 21 Mar 2003 21:15:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933168#M76844</guid>
      <dc:creator>Andrew Kaplan</dc:creator>
      <dc:date>2003-03-21T21:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Gentoo Keychain and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933169#M76845</link>
      <description>Andrew,&lt;BR /&gt;&lt;BR /&gt;I am by no means an expert in this area but I outline my "solution" to the problem you describe - assuming you haven't solved it since your last message.&lt;BR /&gt;&lt;BR /&gt;I have had a very similar&lt;BR /&gt;problem using Keychain 2.0.2 running on Red Hat Linux 8.0; following each of the steps you have outlined, and those described by Chris (re directory permissions). My links are between three linux PCs.&lt;BR /&gt;&lt;BR /&gt;I have managed to perform the passwordless connections to each machine. After much searching WWW, I came across some instructions by Dennis Gallard at &lt;A href="http://oceanpark.com/notes/howto_ssh_keychain_public_key_authentication_forwarding.html." target="_blank"&gt;http://oceanpark.com/notes/howto_ssh_keychain_public_key_authentication_forwarding.html.&lt;/A&gt;&lt;BR /&gt;In particular I followed the instructions for modifying the  ssh_config and sshd_config files.  I then initiated keychain and used ssh-add to add my keys.  Ensured that the authorised_keys/2 files were the same on each box.  Once this was completed I found that I had the sought after "passwordless" connections. &lt;BR /&gt;&lt;BR /&gt;But - there has to be one -:&lt;BR /&gt;&lt;BR /&gt;I find that each time I start a new xterm window I have source the ~/.keychain/*-sh file.&lt;BR /&gt;&lt;BR /&gt;I also note that on one of my linux boxes each time I re-login, keychain or "some process" initiates a new ssh-agent but the file ~/.keychain/*-sh is not updated.&lt;BR /&gt;&lt;BR /&gt;I find that keychain does not stop all ssh-agent process nor does it delete all the files of the form /tmp/ss-XX??????/agent.PID&lt;BR /&gt;&lt;BR /&gt;I have not yet tried running ssh from a cron job.  I need to connect automatically to each machine for data transfers - for security reasons the machines are not cross-mounted - so scp was deemed better than ftp.&lt;BR /&gt;&lt;BR /&gt;Hope this makes sense and is of assistance to you.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Andrew K Mirza&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 27 Mar 2003 13:35:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933169#M76845</guid>
      <dc:creator>Andrew K Mirza</dc:creator>
      <dc:date>2003-03-27T13:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Gentoo Keychain and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933170#M76846</link>
      <description>I don't know what a gentoo keychain is.  But I have the same problem with getting ssh to let me go from box A to B without a password.  &lt;BR /&gt;I looked at the attached text and got the gist of the help.  But the text did not work as written.  &lt;BR /&gt;Here are things that kept it from working:&lt;BR /&gt;&lt;BR /&gt;I am a user on box A, trying to get to box B.&lt;BR /&gt;step 0. I verify box A and box B have their name's resolved properly.  In my case, box B did not recognize the Box A's hostname.  (and visa-versa).  &lt;BR /&gt;&lt;BR /&gt;1.  I make id_dsa.pub.  How?&lt;BR /&gt;/opt/ssh/bin/ssh-keygen -t dsa&lt;BR /&gt;&lt;BR /&gt;2.  I mess around with the user's directory on box B.  &lt;BR /&gt;B User's home directory:  rwx r-x r-x.  &lt;BR /&gt;B User's ssh directory: rwx --- ---.&lt;BR /&gt;&lt;BR /&gt;3.  APPEND A user's id_dsa.pub text into B user's .ssh/authorized_keys2.&lt;BR /&gt;B User's .ssh/authorized_keys2 r-- --- ---.&lt;BR /&gt;&lt;BR /&gt;4.  NOW... I try it.  &lt;BR /&gt;from A&amp;gt;  ssh -2 user@B  &lt;BR /&gt;I get a request for a pass phrase instead of a password.  &lt;BR /&gt;For me, the thing that kept it dying was the permissions on the user's home directory.  But (ssh -vvv) didn't tell me that.  EXPERIMENTATION found it.  &lt;BR /&gt;&lt;BR /&gt;hope this helps.&lt;BR /&gt;Steve</description>
      <pubDate>Thu, 03 Apr 2003 14:43:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933170#M76846</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2003-04-03T14:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Problem With Gentoo Keychain and SSH</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933171#M76847</link>
      <description>remember points????&lt;BR /&gt;</description>
      <pubDate>Tue, 15 Apr 2003 18:38:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-with-gentoo-keychain-and-ssh/m-p/2933171#M76847</guid>
      <dc:creator>Steve Post</dc:creator>
      <dc:date>2003-04-15T18:38:48Z</dc:date>
    </item>
  </channel>
</rss>

