<?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 ssh to host in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/ssh-to-host/m-p/4072582#M30086</link>
    <description>I have three hosts ( host A , B &amp;amp; C ) , host A can ssh host C without password , now I would like host B can also ssh to host C , if I just overwrite the id_rsa.pub from host B to host C' ~user/.ssh/authorized_keys file , then I think host A will no longer can ssh to host C , can advise if I want BOTH A &amp;amp; B can ssh to host C without password , what can I do ? thx</description>
    <pubDate>Wed, 19 Sep 2007 06:13:41 GMT</pubDate>
    <dc:creator>ust3</dc:creator>
    <dc:date>2007-09-19T06:13:41Z</dc:date>
    <item>
      <title>ssh to host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-to-host/m-p/4072582#M30086</link>
      <description>I have three hosts ( host A , B &amp;amp; C ) , host A can ssh host C without password , now I would like host B can also ssh to host C , if I just overwrite the id_rsa.pub from host B to host C' ~user/.ssh/authorized_keys file , then I think host A will no longer can ssh to host C , can advise if I want BOTH A &amp;amp; B can ssh to host C without password , what can I do ? thx</description>
      <pubDate>Wed, 19 Sep 2007 06:13:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-to-host/m-p/4072582#M30086</guid>
      <dc:creator>ust3</dc:creator>
      <dc:date>2007-09-19T06:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: ssh to host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-to-host/m-p/4072583#M30087</link>
      <description>You need to append the hostB key to authorized_keys, for example:&lt;BR /&gt;&lt;BR /&gt;hostB# scp id_rsa.pub hostC:/tmp&lt;BR /&gt;&lt;BR /&gt;hostC# cat /tmp/id_rsa.pub &amp;gt;&amp;gt; authorized_keys</description>
      <pubDate>Wed, 19 Sep 2007 07:12:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-to-host/m-p/4072583#M30087</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-09-19T07:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: ssh to host</title>
      <link>https://community.hpe.com/t5/operating-system-linux/ssh-to-host/m-p/4072584#M30088</link>
      <description>see a below example with H1, H2 and H3 for f&lt;BR /&gt;H1&lt;BR /&gt;&lt;BR /&gt;Login with "applmgr" account and check if you have these files - &lt;BR /&gt;/home/applmgr/.ssh/id_rsa&lt;BR /&gt;/home/applmgr/.ssh/id_rsa.pub&lt;BR /&gt; &lt;BR /&gt;If not then run;&lt;BR /&gt; &lt;BR /&gt;ssh-keygen -t rsa&lt;BR /&gt; &lt;BR /&gt;example -&lt;BR /&gt; &lt;BR /&gt;$ uname -a&lt;BR /&gt;HP-UX H1 B.11.11 U 9000/800 2339995041 unlimited-user license&lt;BR /&gt;&lt;BR /&gt;$ ssh-keygen -t rsa&lt;BR /&gt;Generating public/private rsa key pair.&lt;BR /&gt;Enter file in which to save the key (/home/sharma/.ssh/id_rsa):&lt;BR /&gt;Enter passphrase (empty for no passphrase):&lt;BR /&gt;Enter same passphrase again:&lt;BR /&gt;Your identification has been saved in /home/sharma/.ssh/id_rsa.&lt;BR /&gt;Your public key has been saved in /home/sharma/.ssh/id_rsa.pub.&lt;BR /&gt;The key fingerprint is:&lt;BR /&gt;c1:a8:1d:f8:e5:a4:79:10:d3:5c:d8:90:72:0d:f0:84 sharma@H1&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt; &lt;BR /&gt;Now copy the contents of H1 "/home/applmgr/.ssh/id_rsa.pub" to H2 "/home/applmgr/.ssh/authorized_keys". Append in case the authorized file already exists on H2.&lt;BR /&gt; &lt;BR /&gt;Repeat the same ssh-keygen process for H3 and then append the H3 "/home/applmgr/.ssh/id_rsa.pub" to H2 "/home/applmgr/.ssh/authorized_keys". Once done, H2 should allow passwordless ssh for applmgr account from H3 and H1 both.&lt;BR /&gt; &lt;BR /&gt;P.S - The public/private key pair needs to be generated only once via ssh-keygen and thereafter same keys can be copied to "authorized_keys" on diff. servers for passwordless entry.&lt;BR /&gt;</description>
      <pubDate>Fri, 21 Sep 2007 20:53:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/ssh-to-host/m-p/4072584#M30088</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-09-21T20:53:33Z</dc:date>
    </item>
  </channel>
</rss>

