<?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: How to create trust between servers via ssh keys in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450436#M358596</link>
    <description>Thank you all, its done..</description>
    <pubDate>Sun, 12 Jul 2009 07:34:20 GMT</pubDate>
    <dc:creator>Jayraj</dc:creator>
    <dc:date>2009-07-12T07:34:20Z</dc:date>
    <item>
      <title>How to create trust between servers via ssh keys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450425#M358585</link>
      <description>Hi All,&lt;BR /&gt;&lt;BR /&gt;I am getting the following error, while trying to login to a server1.How to create trust between Server2 and Server1&lt;BR /&gt;&lt;BR /&gt;Server2$ sudo ssh Server1&lt;BR /&gt;Warning: the RSA host key for 'Server1' differs from the key for the IP address '153.6.190.168'&lt;BR /&gt;Offending key for IP in /wdroot/.ssh/known_hosts:522&lt;BR /&gt;Matching host key in /wdroot/.ssh/known_hosts:894&lt;BR /&gt;Are you sure you want to continue connecting (yes/no)?</description>
      <pubDate>Tue, 30 Jun 2009 18:19:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450425#M358585</guid>
      <dc:creator>Jayraj</dc:creator>
      <dc:date>2009-06-30T18:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to create trust between servers via ssh keys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450426#M358586</link>
      <description>before anything else, I'd try deleting the offending key.&lt;BR /&gt;&lt;BR /&gt;edit /wdroot/.ssh/known_hosts&lt;BR /&gt;goto line 522&lt;BR /&gt;delete line&lt;BR /&gt;save and exit&lt;BR /&gt;retry and if it does not work, come back here post the new error message you are getting.</description>
      <pubDate>Tue, 30 Jun 2009 18:25:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450426#M358586</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-06-30T18:25:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to create trust between servers via ssh keys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450427#M358587</link>
      <description>Hi,&lt;BR /&gt;Here is the No of lines in known_hosts in each server&lt;BR /&gt;&lt;BR /&gt;Server1 #"known_hosts" 20 lines, 9248 characters&lt;BR /&gt;Server2 #"known_hosts" 939 lines, 496928 characters&lt;BR /&gt;&lt;BR /&gt;There is no Line 522 in server1.&lt;BR /&gt;</description>
      <pubDate>Tue, 30 Jun 2009 18:41:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450427#M358587</guid>
      <dc:creator>Jayraj</dc:creator>
      <dc:date>2009-06-30T18:41:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to create trust between servers via ssh keys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450428#M358588</link>
      <description>line number 522 on the server initiating the ssh connection. You said from server2 to server1 and your server2 has a pretty fat known_hosts file. Edit that one or simply do this:&lt;BR /&gt;&lt;BR /&gt;cat /wdroot/.ssh/known_hosts | sed -e "522,522d" &amp;gt; /tmp/kh&lt;BR /&gt;cat /tmp/kh &amp;gt; /wdroot/.ssh/known_hosts&lt;BR /&gt;&lt;BR /&gt;this should do it.</description>
      <pubDate>Tue, 30 Jun 2009 18:48:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450428#M358588</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-06-30T18:48:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create trust between servers via ssh keys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450429#M358589</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.hpux.ws/?p=10" target="_blank"&gt;http://www.hpux.ws/?p=10&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Remove the offending keys as indicated. Use vi.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 30 Jun 2009 18:55:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450429#M358589</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-06-30T18:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to create trust between servers via ssh keys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450430#M358590</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I have another question..&lt;BR /&gt;&lt;BR /&gt;is it possible to make trust, if the user dont have his ID on server 2.&lt;BR /&gt;&lt;BR /&gt;Can we make trust between two diffrent users..?</description>
      <pubDate>Wed, 01 Jul 2009 13:19:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450430#M358590</guid>
      <dc:creator>Jayraj</dc:creator>
      <dc:date>2009-07-01T13:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to create trust between servers via ssh keys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450431#M358591</link>
      <description>Shalom again,&lt;BR /&gt;&lt;BR /&gt;You ask:&lt;BR /&gt;&lt;BR /&gt;is it possible to make trust, if the user dont have his ID on server 2.&lt;BR /&gt;&lt;BR /&gt;Can we make trust between two diffrent users..?&lt;BR /&gt;&lt;BR /&gt;Yes.&lt;BR /&gt;&lt;BR /&gt;The document I posted has a step. You take the users public key .pub transfer it to the server you wish it to log into.&lt;BR /&gt;&lt;BR /&gt;Create or append a file in the .ssh directory called authorized_keys&lt;BR /&gt;&lt;BR /&gt;If you have in the authorized_keys file for user shmuel the public key for user donny from another server a "trust" relationship as you call it is established.  I call it exchange of public keys.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 01 Jul 2009 13:26:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450431#M358591</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-07-01T13:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to create trust between servers via ssh keys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450432#M358592</link>
      <description>The answer is yes and no.&lt;BR /&gt;&lt;BR /&gt;Yes you can create trust but no, it will not trust by default.&lt;BR /&gt;&lt;BR /&gt;Lets say:&lt;BR /&gt;You are user2 on server2&lt;BR /&gt;You want to ssh to server1 as user1&lt;BR /&gt;You have a private key on server2 at /home/user2/.ssh/id_rsa&lt;BR /&gt;And you have complementary public key on server1 inside /home/user1/.ssh/authorized_keys file&lt;BR /&gt;&lt;BR /&gt;to get to user1@server1 from user2@server2 all you need to do is&lt;BR /&gt;&lt;BR /&gt;On server2&lt;BR /&gt;# ssh -l user1 server1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Jul 2009 13:29:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450432#M358592</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-07-01T13:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to create trust between servers via ssh keys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450433#M358593</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Here is the problem, User dont have his ID on server1. So if I removed the offending key..&lt;BR /&gt;will he be going to login in server1 as root..?</description>
      <pubDate>Wed, 01 Jul 2009 14:04:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450433#M358593</guid>
      <dc:creator>Jayraj</dc:creator>
      <dc:date>2009-07-01T14:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to create trust between servers via ssh keys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450434#M358594</link>
      <description>Jayraj,&lt;BR /&gt;&lt;BR /&gt;Please see link to prior thread which explains setting up from scratch.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1125086" target="_blank"&gt;http://forums13.itrc.hp.com/service/forums/questionanswer.do?threadId=1125086&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Berd</description>
      <pubDate>Wed, 01 Jul 2009 14:09:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450434#M358594</guid>
      <dc:creator>Berd</dc:creator>
      <dc:date>2009-07-01T14:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to create trust between servers via ssh keys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450435#M358595</link>
      <description>&amp;gt;User dont have his ID on server1. So if I removed the offending key..&lt;BR /&gt;&amp;gt;will he be going to login in server1 as root..?&lt;BR /&gt;&lt;BR /&gt;unless you specify which username to use on the remote server with -l switch, it will use your local login name. If you are root on server2, running command:&lt;BR /&gt;&lt;BR /&gt;ssh server1&lt;BR /&gt;&lt;BR /&gt;will use root username on server1, whereas&lt;BR /&gt;&lt;BR /&gt;ssh -l user1 server12&lt;BR /&gt;&lt;BR /&gt;will try to login as user1 on the remote server. &lt;BR /&gt;&lt;BR /&gt;There has to be a username to log in as on the remote server otherwise your attempt will be refused, regardless if you are using "-l username" or just letting it go default. Lack of username specification will not default your login as root, as you are expecting, if I'm not misunderstanding,</description>
      <pubDate>Wed, 01 Jul 2009 14:45:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450435#M358595</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-07-01T14:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to create trust between servers via ssh keys</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450436#M358596</link>
      <description>Thank you all, its done..</description>
      <pubDate>Sun, 12 Jul 2009 07:34:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-create-trust-between-servers-via-ssh-keys/m-p/4450436#M358596</guid>
      <dc:creator>Jayraj</dc:creator>
      <dc:date>2009-07-12T07:34:20Z</dc:date>
    </item>
  </channel>
</rss>

