<?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 asked for password in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-asked-for-password/m-p/4952345#M413877</link>
    <description>If I generate a new key on the "master" server and place it in the authorozed_keys file on the new server to allow it to talk to each other will I also have to copy that new key from the master and replace it on all the other servers that are already working ??</description>
    <pubDate>Sat, 14 Jan 2006 09:13:24 GMT</pubDate>
    <dc:creator>MikeL_4</dc:creator>
    <dc:date>2006-01-14T09:13:24Z</dc:date>
    <item>
      <title>ssh asked for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-asked-for-password/m-p/4952343#M413875</link>
      <description>I've setup a new server, Igniting it from another of our production servers.&lt;BR /&gt;On the new server I ran &lt;BR /&gt;1) ssh-keygen -t dsa on the new server&lt;BR /&gt;2) copied the id_dsa.pub file into the authorized_keys file on both the new server and our "master" HP server&lt;BR /&gt;&lt;BR /&gt;from the master HP server when I do an ssh to the new server it still prompts me for the new servers password.&lt;BR /&gt;&lt;BR /&gt;What am I missing in the setup ???&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Jan 2006 19:37:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-asked-for-password/m-p/4952343#M413875</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2006-01-13T19:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: ssh asked for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-asked-for-password/m-p/4952344#M413876</link>
      <description>If you want to ssh from the "master" HP server to the new server, you'll need to generate a keypair on the master server and put the public key into the new servers authorized_keys file.&lt;BR /&gt;&lt;BR /&gt;From what you described above, the keypair was created on the new server and the public key was copied to the authorized keys on the new and master server... that would allow you to login from the new server to the new server or from the new to master server but not the other way around.&lt;BR /&gt;&lt;BR /&gt;So if you need to use public key auth from the master to the new server you'll need to put a keypair on the master and append it's public key to the new server.&lt;BR /&gt;&lt;BR /&gt;Also double check the syslog.log for sshd errors and use  "ssh -vvv" to debug.&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;-denver</description>
      <pubDate>Fri, 13 Jan 2006 22:42:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-asked-for-password/m-p/4952344#M413876</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2006-01-13T22:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: ssh asked for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-asked-for-password/m-p/4952345#M413877</link>
      <description>If I generate a new key on the "master" server and place it in the authorozed_keys file on the new server to allow it to talk to each other will I also have to copy that new key from the master and replace it on all the other servers that are already working ??</description>
      <pubDate>Sat, 14 Jan 2006 09:13:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-asked-for-password/m-p/4952345#M413877</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2006-01-14T09:13:24Z</dc:date>
    </item>
    <item>
      <title>Re: ssh asked for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-asked-for-password/m-p/4952346#M413878</link>
      <description>Shalom Mike,&lt;BR /&gt;&lt;BR /&gt;authorized keys depends on a few things.&lt;BR /&gt;&lt;BR /&gt;Ownership of the home directory. Someone else owns it, password prompt is automatic.&lt;BR /&gt;&lt;BR /&gt;permission of the files in the .ssh direcotry. To permissive, automatic prompt for a password.&lt;BR /&gt;ownership and permissions of the .ssh directory.&lt;BR /&gt;&lt;BR /&gt;If the new machine is giving you trouble.&lt;BR /&gt;&lt;BR /&gt;1) rm -rf .ssh/&lt;BR /&gt;2) ssh-keygen -t dsa # solving ownerhip and permission issues.&lt;BR /&gt;3) Copy in the authorized keys file. &lt;BR /&gt;If you want things to work 2 way.&lt;BR /&gt;&lt;BR /&gt;cat id_dsa.pub &amp;gt;&amp;gt; authorized_keys&lt;BR /&gt;distribute it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 14 Jan 2006 15:45:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-asked-for-password/m-p/4952346#M413878</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-14T15:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: ssh asked for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-asked-for-password/m-p/4952347#M413879</link>
      <description>Mike,&lt;BR /&gt;&lt;BR /&gt;If you've got a keypair on your "master" server that is used to connect to all of your other hosts, then no need to ssh-keygen. Just take the id_dsa.pub file on the master and append it to the new server authorized_keys file.&lt;BR /&gt;&lt;BR /&gt;-denver</description>
      <pubDate>Sat, 14 Jan 2006 21:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-asked-for-password/m-p/4952347#M413879</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2006-01-14T21:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: ssh asked for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-asked-for-password/m-p/4952348#M413880</link>
      <description>one other thing... if you've already taken the master pub file and copied to authorized_keys on the new server, how was it copied?&lt;BR /&gt;&lt;BR /&gt;Did you cut/paste the .pub key to the authorized keys? If that's how it was done you should try to recreate teh authorized_keys file on the new server. Instead of cut/paste, try to scp the .pub file over then cat id_dsa.pub &amp;gt;&amp;gt; authorized_keys.&lt;BR /&gt;&lt;BR /&gt;-denver</description>
      <pubDate>Sat, 14 Jan 2006 21:10:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-asked-for-password/m-p/4952348#M413880</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2006-01-14T21:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: ssh asked for password</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ssh-asked-for-password/m-p/4952349#M413881</link>
      <description>Thanks alot, when you don't set these up that often it get's confussing what needs to be where to work..</description>
      <pubDate>Sun, 15 Jan 2006 13:27:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ssh-asked-for-password/m-p/4952349#M413881</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2006-01-15T13:27:59Z</dc:date>
    </item>
  </channel>
</rss>

