<?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: Secure shell question. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-question/m-p/2840062#M90964</link>
    <description>Oh yes. May I have a script example.  I am either very lazy or very busy today(both).</description>
    <pubDate>Wed, 06 Nov 2002 17:16:44 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2002-11-06T17:16:44Z</dc:date>
    <item>
      <title>Secure shell question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-question/m-p/2840059#M90961</link>
      <description>I recently installed and started using Secure shell for everything I could.  No more ftp, sftp, things like that.&lt;BR /&gt;&lt;BR /&gt;I noticed there was an scp command which could replace rcp, which we use on our old systems but I will not allow on the new ones I'm getting ready to roll out.&lt;BR /&gt;&lt;BR /&gt;I have .shosts set up valid on both servers, assuming the syntax is the same as .rhosts.&lt;BR /&gt;&lt;BR /&gt;My question...&lt;BR /&gt;&lt;BR /&gt;A command line script that will allow an automated job to use scp to copy a file between sytems and not prompt for a password.  I think the basic premise might be impossible based on secure shell's reason for existance, but I'd like to here it from someone who has used it for more than 2 months.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 06 Nov 2002 17:03:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-question/m-p/2840059#M90961</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2002-11-06T17:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Secure shell question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-question/m-p/2840060#M90962</link>
      <description>scp can be made to work w/o being prompted for the password once the public keys have been exchanged. Make sure when you generate keys, you don't put any passphrase.&lt;BR /&gt;&lt;BR /&gt;If you are using OpenSSH from HP, look at the Release Notes for HP-UX Secure Shell A.03.10.002&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/T1471-90003/T1471-90003.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/T1471-90003/T1471-90003.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(yes, I am using it for more than 2 months!)&lt;BR /&gt;&lt;BR /&gt;...Manjeet</description>
      <pubDate>Wed, 06 Nov 2002 17:13:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-question/m-p/2840060#M90962</guid>
      <dc:creator>Kellogg Unix Team</dc:creator>
      <dc:date>2002-11-06T17:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Secure shell question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-question/m-p/2840061#M90963</link>
      <description>Woohoo!&lt;BR /&gt;&lt;BR /&gt;You da man.&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Wed, 06 Nov 2002 17:13:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-question/m-p/2840061#M90963</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2002-11-06T17:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Secure shell question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-question/m-p/2840062#M90964</link>
      <description>Oh yes. May I have a script example.  I am either very lazy or very busy today(both).</description>
      <pubDate>Wed, 06 Nov 2002 17:16:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-question/m-p/2840062#M90964</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2002-11-06T17:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Secure shell question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-question/m-p/2840063#M90965</link>
      <description>Script example (assuming you want to put syslog.log from systemA to /tmp of systemB) -&lt;BR /&gt;&lt;BR /&gt;#!/bin/ksh&lt;BR /&gt;&lt;BR /&gt;source_host=systemA&lt;BR /&gt;source_dir='/var/adm/syslog'&lt;BR /&gt;source_file='syslog.log'&lt;BR /&gt;target_host=systemB&lt;BR /&gt;target_dir='/tmp'&lt;BR /&gt;target_file='syslog_of_systemA.log'&lt;BR /&gt;&lt;BR /&gt;# Assuming ssh is installed and public keys are exchanged with null passphrases&lt;BR /&gt;&lt;BR /&gt;scp ${source_dir}/${source_file} ${target_host}:${target_dir}/${target_file}&lt;BR /&gt;&lt;BR /&gt;exit 0&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Nov 2002 20:02:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-question/m-p/2840063#M90965</guid>
      <dc:creator>Kellogg Unix Team</dc:creator>
      <dc:date>2002-11-06T20:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: Secure shell question.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-question/m-p/2840064#M90966</link>
      <description>Steve&lt;BR /&gt;&lt;BR /&gt;Here are some FAQ's for SSH&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062683639#Q12" target="_blank"&gt;http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=200000062683639#Q12&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Steve</description>
      <pubDate>Wed, 06 Nov 2002 20:06:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/secure-shell-question/m-p/2840064#M90966</guid>
      <dc:creator>steven Burgess_2</dc:creator>
      <dc:date>2002-11-06T20:06:35Z</dc:date>
    </item>
  </channel>
</rss>

