<?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: provide password during scp command. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/provide-password-during-scp-command/m-p/5568715#M732201</link>
    <description>&lt;P&gt;&amp;gt;we have everything set up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you have set up?&lt;/P&gt;&lt;P&gt;You can use ssh and:&lt;/P&gt;&lt;P&gt;1) Still have passwords&lt;/P&gt;&lt;P&gt;2) Have a passphrase instead&lt;/P&gt;&lt;P&gt;3) Have password/passphraseless logins.&lt;/P&gt;&lt;P&gt;4) Host-based with ~/.rhosts or ~/.shosts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For 2) you can also cache the passphrase in a ssh-agent, added with ssh-add.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which do you want to do?&lt;/P&gt;</description>
    <pubDate>Wed, 29 Feb 2012 20:21:46 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2012-02-29T20:21:46Z</dc:date>
    <item>
      <title>provide password during scp command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/provide-password-during-scp-command/m-p/5568303#M732197</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sitting on HP UX 11.11 and I need to perform the scp to different host. in porder to achieve this, I have created ths sh file , but it's getting for password problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;nohup sh scp.sh&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below commands inside the scp.sh file&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;scp -p file_name target@osuser:/db/qa05/export/&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 15:26:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/provide-password-during-scp-command/m-p/5568303#M732197</guid>
      <dc:creator>Alok_Behria</dc:creator>
      <dc:date>2012-02-29T15:26:32Z</dc:date>
    </item>
    <item>
      <title>Re: provide password during scp command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/provide-password-during-scp-command/m-p/5568469#M732198</link>
      <description>&lt;P&gt;Have you set up the keys for ssh?&amp;nbsp; And do the files and directories have the right permissions?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 17:20:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/provide-password-during-scp-command/m-p/5568469#M732198</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-02-29T17:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: provide password during scp command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/provide-password-during-scp-command/m-p/5568545#M732199</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we have everything set up , it's only , when i run the sh file in background, it got failed becuase of the passowrd for oraqa05 on oradev3 host. now, i need something like, where i can script the password , so that i can run this in background , without any intraction. i hope, i am clear.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;prod02&amp;gt; nohup sh scp.sh &amp;amp;

[5] + Stopped (tty output)     nohup sh scp.sh &amp;amp;&lt;BR /&gt;&lt;BR /&gt;scp -p edemo_eshare_28feb.dump.gz edemo_eshare_28feb.log oraqa05@oradev3:/db/qa05/export/&lt;BR /&gt;oraqa05@oradev3's password:&lt;BR /&gt;edemo_eshare_28feb.d 24% |*********** &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 18:17:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/provide-password-during-scp-command/m-p/5568545#M732199</guid>
      <dc:creator>Alok_Behria</dc:creator>
      <dc:date>2012-02-29T18:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: provide password during scp command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/provide-password-during-scp-command/m-p/5568587#M732200</link>
      <description />
      <pubDate>Wed, 29 Feb 2012 18:52:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/provide-password-during-scp-command/m-p/5568587#M732200</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2012-02-29T18:52:25Z</dc:date>
    </item>
    <item>
      <title>Re: provide password during scp command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/provide-password-during-scp-command/m-p/5568715#M732201</link>
      <description>&lt;P&gt;&amp;gt;we have everything set up&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you have set up?&lt;/P&gt;&lt;P&gt;You can use ssh and:&lt;/P&gt;&lt;P&gt;1) Still have passwords&lt;/P&gt;&lt;P&gt;2) Have a passphrase instead&lt;/P&gt;&lt;P&gt;3) Have password/passphraseless logins.&lt;/P&gt;&lt;P&gt;4) Host-based with ~/.rhosts or ~/.shosts&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For 2) you can also cache the passphrase in a ssh-agent, added with ssh-add.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Which do you want to do?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Feb 2012 20:21:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/provide-password-during-scp-command/m-p/5568715#M732201</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-02-29T20:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: provide password during scp command.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/provide-password-during-scp-command/m-p/5615655#M732202</link>
      <description>&lt;P&gt;&lt;FONT size="3" face="Consolas"&gt;This problem could be overcome by configuring authentication with public keys instead of using passwords.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="3" face="Consolas"&gt;Follow the steps in "HP-UX Secure Shell Getting Started Guide" to configure public key authentication. The guide is available at the following link:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c03243765/c03243765.pdf" target="_blank"&gt;http://bizsupport2.austin.hp.com/bc/docs/support/SupportManual/c03243765/c03243765.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2012 18:24:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/provide-password-during-scp-command/m-p/5615655#M732202</guid>
      <dc:creator>BalachandraST</dc:creator>
      <dc:date>2012-04-11T18:24:03Z</dc:date>
    </item>
  </channel>
</rss>

