<?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: need help for use ssh in shell scripting in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004639#M82875</link>
    <description>hey thanks man,it relly worked.I can now install the rpms to the other machines in the same network.</description>
    <pubDate>Wed, 23 May 2007 00:35:00 GMT</pubDate>
    <dc:creator>Karthik_sg</dc:creator>
    <dc:date>2007-05-23T00:35:00Z</dc:date>
    <item>
      <title>need help for use ssh in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004635#M82871</link>
      <description>how to use ssh in shell scripting so that the password and user name are given in the script itself and the control is not given out to the system.I want to install few rpm into the other system using the shell script pls.help.&lt;BR /&gt;thnks in advance.</description>
      <pubDate>Tue, 22 May 2007 02:42:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004635#M82871</guid>
      <dc:creator>Karthik_sg</dc:creator>
      <dc:date>2007-05-22T02:42:56Z</dc:date>
    </item>
    <item>
      <title>Re: need help for use ssh in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004636#M82872</link>
      <description>Best way is to copy the content of your public ssh key to the ~/.ssh/authorized_keys file on destination.&lt;BR /&gt;read here for more details:&lt;BR /&gt;&lt;A href="http://rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca/documents/internet/node31.html" target="_blank"&gt;http://rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca/documents/internet/node31.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;or you can automate your login with expect script.&lt;BR /&gt;To learn about expect:&lt;BR /&gt;&lt;A href="http://expect.nist.gov/" target="_blank"&gt;http://expect.nist.gov/&lt;/A&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 22 May 2007 02:53:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004636#M82872</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-05-22T02:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: need help for use ssh in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004637#M82873</link>
      <description>thanks,But now the control id given to the other syatem.I men to say that the control is passed to the other syatem command mode.pls help me execute this code.i tried copying the key u had sent but how to execute this code.&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;ssh root@192.0.0.10;&lt;BR /&gt;rpm -Uvh /rpmfiles/*.rpm;&lt;BR /&gt;&lt;BR /&gt;And 192.0.0.10 is the other machine.&lt;BR /&gt;</description>
      <pubDate>Tue, 22 May 2007 04:20:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004637#M82873</guid>
      <dc:creator>Karthik_sg</dc:creator>
      <dc:date>2007-05-22T04:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: need help for use ssh in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004638#M82874</link>
      <description>All you had to do is to get rid of the semicolon, so the code would look like this:&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;&lt;BR /&gt;ssh root@12.0.0.10 rpm -Uvh /updates/rpmfileswithdependencies/*.rpm;</description>
      <pubDate>Tue, 22 May 2007 04:29:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004638#M82874</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-05-22T04:29:59Z</dc:date>
    </item>
    <item>
      <title>Re: need help for use ssh in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004639#M82875</link>
      <description>hey thanks man,it relly worked.I can now install the rpms to the other machines in the same network.</description>
      <pubDate>Wed, 23 May 2007 00:35:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004639#M82875</guid>
      <dc:creator>Karthik_sg</dc:creator>
      <dc:date>2007-05-23T00:35:00Z</dc:date>
    </item>
    <item>
      <title>Re: need help for use ssh in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004640#M82876</link>
      <description>Actually you're not limited to the same network. You can install RPMs this way on any reachable via SSH machine (also through Internet).</description>
      <pubDate>Wed, 23 May 2007 03:49:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004640#M82876</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-05-23T03:49:45Z</dc:date>
    </item>
    <item>
      <title>Re: need help for use ssh in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004641#M82877</link>
      <description>hi,may i know how,I got a internet connection at home having an ip address10.0.0.2 and the office ip is 192.0.0.10.So how do i proceed.Pls do let me know.</description>
      <pubDate>Wed, 23 May 2007 07:41:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004641#M82877</guid>
      <dc:creator>Karthik_sg</dc:creator>
      <dc:date>2007-05-23T07:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: need help for use ssh in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004642#M82878</link>
      <description>hi,may i know how to install rpms to remote machines.I got a internet connection at home having an ip address10.0.0.2 and the office ip is 192.0.0.10.So how do i proceed.Pls do let me know.If possible pls explain it briefly.</description>
      <pubDate>Wed, 23 May 2007 07:42:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004642#M82878</guid>
      <dc:creator>Karthik_sg</dc:creator>
      <dc:date>2007-05-23T07:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: need help for use ssh in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004643#M82879</link>
      <description>10.0.0.2 is a NATted address, so you cannot access it through the internet. All IP addresses that start with "10." are like this. There are other groups of addresses like this: the most well-known are "172.(16-31)." and "192.168.". &lt;BR /&gt;&lt;BR /&gt;When you're back home, go to &lt;A href="http://www.whatismyip.com:" target="_blank"&gt;www.whatismyip.com:&lt;/A&gt; it's a website that reports your IP address as far as it can detect. I think it will not list your IP address as 10.0.0.2, but something else entirely.&lt;BR /&gt;&lt;BR /&gt;The address displayed by &lt;A href="http://www.whatismyip.com" target="_blank"&gt;www.whatismyip.com&lt;/A&gt; might be the address of your cable modem, ADSL router or whatever kind of network connection you're using. It might also be some device of your ISP.&lt;BR /&gt;&lt;BR /&gt;If you can configure that device to forward the connections that arrive to port 22 (or some other port, if you want to be a little obscure) of the IP address shown by &lt;A href="http://www.whatismyip.com" target="_blank"&gt;www.whatismyip.com&lt;/A&gt; to your local 10.0.0.2, you can then connect to your home computer using SSH from any place in the internet that does not block outgoing SSH connections.&lt;BR /&gt;&lt;BR /&gt;WARNING: this means anyone else can try to connect to your home computer too. When you configure port forwardings like that, you're intentionally weakening the security shield provided by the NAT function. Being able to access your home computer through the internet is certainly cool, but having your computer used as a relay station for junk email or illegal activities is not fun at all.&lt;BR /&gt;&lt;BR /&gt;There are worms and other malware on the internet that are constantly searching for SSH-accessible hosts with easily guessable passwords. &lt;BR /&gt;&lt;BR /&gt;If you make your home computer SSH-accessible from the internet, *always* disallow direct logins as "root" user and ensure that all accessible accounts have strong passwords installed. Do this *before* you set up the port forwarding.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 23 May 2007 10:23:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004643#M82879</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2007-05-23T10:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: need help for use ssh in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004644#M82880</link>
      <description>sry sgain,but how to forward the connections that arrive to port 22.what is forwarding a conection to port 22.explain briefly about ports also or provide any link to know this.waiting for ur reply.</description>
      <pubDate>Thu, 24 May 2007 00:03:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/need-help-for-use-ssh-in-shell-scripting/m-p/4004644#M82880</guid>
      <dc:creator>Karthik_sg</dc:creator>
      <dc:date>2007-05-24T00:03:52Z</dc:date>
    </item>
  </channel>
</rss>

