<?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: help needed on ssh and scp in shell scripting in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/help-needed-on-ssh-and-scp-in-shell-scripting/m-p/3984444#M82824</link>
    <description>hey i tried runnin the code but it asks for sum passwd.I am not sure how to go about it still.coz if i give my sustem or the destination system password,its not accepting.can u explain whata public key is?</description>
    <pubDate>Mon, 23 Apr 2007 08:27:06 GMT</pubDate>
    <dc:creator>Karthik_sg</dc:creator>
    <dc:date>2007-04-23T08:27:06Z</dc:date>
    <item>
      <title>help needed on ssh and scp in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-needed-on-ssh-and-scp-in-shell-scripting/m-p/3984440#M82820</link>
      <description>hey guys,&lt;BR /&gt;i have few rpms on my system.th eproblem is that i have to copy these rpms to another system whose ip is say 12.0.0.34.and i have to run the rpm there.it is usually for updating.i want to use ssh and scp command but again whn using these i have supply the password in my script itself.sum pls tel me how to do this.my machines ip may be 12.0.0.13.thnks in advance.</description>
      <pubDate>Thu, 19 Apr 2007 01:36:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-needed-on-ssh-and-scp-in-shell-scripting/m-p/3984440#M82820</guid>
      <dc:creator>Karthik_sg</dc:creator>
      <dc:date>2007-04-19T01:36:03Z</dc:date>
    </item>
    <item>
      <title>Re: help needed on ssh and scp in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-needed-on-ssh-and-scp-in-shell-scripting/m-p/3984441#M82821</link>
      <description>You can copy your publick ssh key to the destination and you won't be promted for password. To do that:&lt;BR /&gt;1. run `ssh-keygen -d` on you source machine.&lt;BR /&gt;2. copy the file ~/.ssh/id.dsa_pub username@remotehost:/tmp/&lt;BR /&gt;3. login to remote machine.&lt;BR /&gt;4. run `cat /tmp/id.dsa_pub &amp;gt;&amp;gt; ~/.ssh/authorized_keys`&lt;BR /&gt;5. remove the public key from tmp `rm /tmp/id.dsa_pub`.&lt;BR /&gt;6.logout from remote machine and try to login there via ssh - you shouldn't be prompted for password anymore...</description>
      <pubDate>Thu, 19 Apr 2007 01:53:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-needed-on-ssh-and-scp-in-shell-scripting/m-p/3984441#M82821</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2007-04-19T01:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: help needed on ssh and scp in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-needed-on-ssh-and-scp-in-shell-scripting/m-p/3984442#M82822</link>
      <description>thnks for ur reply sir,bt i am nt sure and aware wht public keys are,if u can tell me indetail with the code it wil be ver helpful</description>
      <pubDate>Thu, 19 Apr 2007 02:00:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-needed-on-ssh-and-scp-in-shell-scripting/m-p/3984442#M82822</guid>
      <dc:creator>Karthik_sg</dc:creator>
      <dc:date>2007-04-19T02:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: help needed on ssh and scp in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-needed-on-ssh-and-scp-in-shell-scripting/m-p/3984443#M82823</link>
      <description>Alexander Chuzhoy already sent the code!! You have to run those commands to get public key without password authentication.</description>
      <pubDate>Thu, 19 Apr 2007 04:30:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-needed-on-ssh-and-scp-in-shell-scripting/m-p/3984443#M82823</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-04-19T04:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: help needed on ssh and scp in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-needed-on-ssh-and-scp-in-shell-scripting/m-p/3984444#M82824</link>
      <description>hey i tried runnin the code but it asks for sum passwd.I am not sure how to go about it still.coz if i give my sustem or the destination system password,its not accepting.can u explain whata public key is?</description>
      <pubDate>Mon, 23 Apr 2007 08:27:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-needed-on-ssh-and-scp-in-shell-scripting/m-p/3984444#M82824</guid>
      <dc:creator>Karthik_sg</dc:creator>
      <dc:date>2007-04-23T08:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: help needed on ssh and scp in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-needed-on-ssh-and-scp-in-shell-scripting/m-p/3984445#M82825</link>
      <description>You're talking about it asking for the passphsare, right?  Like this:&lt;BR /&gt;&lt;BR /&gt;Enter passphrase (empty for no passphrase):&lt;BR /&gt;&lt;BR /&gt;Simple press &lt;RETURN&gt;.&lt;BR /&gt;&lt;BR /&gt;Vic&lt;/RETURN&gt;</description>
      <pubDate>Mon, 23 Apr 2007 11:21:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-needed-on-ssh-and-scp-in-shell-scripting/m-p/3984445#M82825</guid>
      <dc:creator>Victor Semaska_3</dc:creator>
      <dc:date>2007-04-23T11:21:05Z</dc:date>
    </item>
    <item>
      <title>Re: help needed on ssh and scp in shell scripting</title>
      <link>https://community.hpe.com/t5/operating-system-linux/help-needed-on-ssh-and-scp-in-shell-scripting/m-p/3984446#M82826</link>
      <description>yes.My objective is to install a rpm on a machine in the same network thru shell script.but is i use ssh it asks for a password and the control is entirely given out until we exit whch thn returns the control back to shell script.i hope u understand.so how to go abt it</description>
      <pubDate>Tue, 24 Apr 2007 01:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/help-needed-on-ssh-and-scp-in-shell-scripting/m-p/3984446#M82826</guid>
      <dc:creator>Karthik_sg</dc:creator>
      <dc:date>2007-04-24T01:11:26Z</dc:date>
    </item>
  </channel>
</rss>

