<?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 SSH for remote execution in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687325#M246491</link>
    <description>Senthin could you please me the command if for example i am in "server1" logged in as "oracle" and i want to execute "ls" on "server2"  with the same user on that machine.</description>
    <pubDate>Thu, 08 Dec 2005 06:14:54 GMT</pubDate>
    <dc:creator>santosh jha</dc:creator>
    <dc:date>2005-12-08T06:14:54Z</dc:date>
    <item>
      <title>How to SSH for remote execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687322#M246488</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;I am designing a script where i need to execute some commands on different server from one server.&lt;BR /&gt;&lt;BR /&gt;Previously i was using "remsh" to accomplis this but now i have to move away from "remsh" and use "ssh" instead.&lt;BR /&gt;&lt;BR /&gt;Please guide me how to do it.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Santosh Jha</description>
      <pubDate>Thu, 08 Dec 2005 05:40:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687322#M246488</guid>
      <dc:creator>santosh jha</dc:creator>
      <dc:date>2005-12-08T05:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to SSH for remote execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687323#M246489</link>
      <description>Dear Santosh,&lt;BR /&gt;&lt;BR /&gt;Check out this link &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.employees.org/~satch/ssh/faq/INSTALL.txt" target="_blank"&gt;http://www.employees.org/~satch/ssh/faq/INSTALL.txt&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HtH,&lt;BR /&gt;&lt;BR /&gt;Siva.</description>
      <pubDate>Thu, 08 Dec 2005 06:02:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687323#M246489</guid>
      <dc:creator>Sivakumar TS</dc:creator>
      <dc:date>2005-12-08T06:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to SSH for remote execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687324#M246490</link>
      <description>Hi,&lt;BR /&gt;    you can use your script as before, only changing the remsh with ssh [correct syntak]. check man ssh for syntak.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Also, you can use use public key authentication  using SSH which helps a lot in automation so that password less authentication happends between two machines.&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Dec 2005 06:04:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687324#M246490</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2005-12-08T06:04:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to SSH for remote execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687325#M246491</link>
      <description>Senthin could you please me the command if for example i am in "server1" logged in as "oracle" and i want to execute "ls" on "server2"  with the same user on that machine.</description>
      <pubDate>Thu, 08 Dec 2005 06:14:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687325#M246491</guid>
      <dc:creator>santosh jha</dc:creator>
      <dc:date>2005-12-08T06:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to SSH for remote execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687326#M246492</link>
      <description>here it is&lt;BR /&gt;&lt;BR /&gt;if both the servers are having correct host based authentication keys, then &lt;BR /&gt;from server1 &lt;BR /&gt;&lt;BR /&gt;ssh -q server2 ll&lt;BR /&gt;&lt;BR /&gt;will work fine :)&lt;BR /&gt;&lt;BR /&gt;br&lt;BR /&gt;Thummalu</description>
      <pubDate>Thu, 08 Dec 2005 07:13:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687326#M246492</guid>
      <dc:creator>Thummalu</dc:creator>
      <dc:date>2005-12-08T07:13:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to SSH for remote execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687327#M246493</link>
      <description>Hi santhosh,&lt;BR /&gt;      ssh -l oracle server2 ls&lt;BR /&gt;    &lt;BR /&gt;&lt;BR /&gt;This you have to incorpate in your script on the server1.&lt;BR /&gt;&lt;BR /&gt;If you want to do many operations on remote m/c, then&lt;BR /&gt;&lt;BR /&gt;ssh -l oracle server2 &amp;lt;&amp;lt; EOF&lt;BR /&gt;ls&lt;BR /&gt;pwd&lt;BR /&gt;netstat -na&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Prabu.S&lt;BR /&gt;&lt;BR /&gt;If you want steps for using pasword less authentication, I can also send them&lt;BR /&gt;</description>
      <pubDate>Thu, 08 Dec 2005 07:18:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687327#M246493</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2005-12-08T07:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to SSH for remote execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687328#M246494</link>
      <description>You need to work on password less authentication with SSH server and client, have a look at this thread, it will guide you&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=851253" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=851253&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Thu, 08 Dec 2005 07:19:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687328#M246494</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-08T07:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to SSH for remote execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687329#M246495</link>
      <description>Just briefly:&lt;BR /&gt;1) Generate your identity on unix_box&lt;BR /&gt;&lt;BR /&gt;If you already have created your identity (file /home/your_login/.ssh/id_rsa exists), please skip this step otherwise you will destroy your previous setup.&lt;BR /&gt;This setup you will do only once per user and system.&lt;BR /&gt;&lt;BR /&gt;ssh-keygen -t rsa&lt;BR /&gt;&lt;BR /&gt;2) Distribute your identity to other nodes &lt;BR /&gt;This setup you have to do for every user and system from which you want to conect for all users and systems you want to connect to :&lt;BR /&gt;2.1 Create .ssh directory on targer_node&lt;BR /&gt;ssh target_user@target_node [ ! -d /home/your_login/.ssh ] &amp;amp;&amp;amp; (mkdir /home/your_login/.ssh;chmod 700 /home/your_login/.ssh) &lt;BR /&gt;2.2 Copy your public identity to target&lt;BR /&gt;cat /home/your_login/.ssh/id_rsa.pub | ssh target_user@target_node tee -a /home/your_login/.ssh/authorized_keys&lt;BR /&gt;&lt;BR /&gt;3) Simply use ssh and scp or sftp&lt;BR /&gt;ssh target_node&lt;BR /&gt;ssh your_login@target_node&lt;BR /&gt;ssh your_login@target_node command parameter</description>
      <pubDate>Fri, 09 Dec 2005 03:05:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687329#M246495</guid>
      <dc:creator>Jaroslav Matys</dc:creator>
      <dc:date>2005-12-09T03:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to SSH for remote execution</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687330#M246496</link>
      <description>Just a small comment to Jaroslav's nice description.&lt;BR /&gt;Substitute: /home/your_login&lt;BR /&gt;with: ~your_login&lt;BR /&gt;&lt;BR /&gt;~your_login will point to the home-directory of user your_login regardless if it is on /home or elsewhere...&lt;BR /&gt;&lt;BR /&gt;/2r</description>
      <pubDate>Fri, 09 Dec 2005 11:34:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-ssh-for-remote-execution/m-p/3687330#M246496</guid>
      <dc:creator>Tor-Arne Nostdal</dc:creator>
      <dc:date>2005-12-09T11:34:20Z</dc:date>
    </item>
  </channel>
</rss>

