<?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: Question on how to telnet and execute shell script using batch file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-how-to-telnet-and-execute-shell-script-using-batch/m-p/2975433#M928293</link>
    <description>Though its a little more work, I don't like the security holes built into the Berkeley product suite.&lt;BR /&gt;&lt;BR /&gt;Therefore, I use Secure shell.&lt;BR /&gt;&lt;BR /&gt;Secure Shell: a replacement for rcp ftp and telnet that encrypts passwords&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA" target="_blank"&gt;http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The ssh command can be used to pass script arguments to the HP-UX server&lt;BR /&gt;&lt;BR /&gt;example ssh tzfat "cat /etc/issue"&lt;BR /&gt;&lt;BR /&gt;There are a number of free clients for your W2K environment that can be found at tucows.com or download.com&lt;BR /&gt;&lt;BR /&gt;I am attaching Chris Vail's doc on public key exchange.  It works for Linux, it works for HP-UX.  It would probably work for W2K if you find the right W2K secure shell client software.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
    <pubDate>Fri, 16 May 2003 18:05:27 GMT</pubDate>
    <dc:creator>Steven E. Protter</dc:creator>
    <dc:date>2003-05-16T18:05:27Z</dc:date>
    <item>
      <title>Question on how to telnet and execute shell script using batch file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-how-to-telnet-and-execute-shell-script-using-batch/m-p/2975431#M928291</link>
      <description>Hi,&lt;BR /&gt;There is a HP-UX computer that has a shell script in its' /home/prgmr folder.&lt;BR /&gt;I have a Windows 2000 pc. What I want to do is have a batch file&lt;BR /&gt;that would telnet to the HP-UX computer, and execute the shell script.&lt;BR /&gt;Is this possible? Thank you for your feedback!</description>
      <pubDate>Fri, 16 May 2003 17:39:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-how-to-telnet-and-execute-shell-script-using-batch/m-p/2975431#M928291</guid>
      <dc:creator>Sharvil Desai</dc:creator>
      <dc:date>2003-05-16T17:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: Question on how to telnet and execute shell script using batch file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-how-to-telnet-and-execute-shell-script-using-batch/m-p/2975432#M928292</link>
      <description>&lt;BR /&gt;.rhosts and remsh&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90743/B2355-90743_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90743/00/00/20-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90743/00/00/20-toc.html&amp;amp;searchterms=rhosts&amp;amp;queryid=20030516-125103" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90743/B2355-90743_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90743/00/00/20-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90743/00/00/20-toc.html&amp;amp;searchterms=rhosts&amp;amp;queryid=20030516-125103&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;remsh&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90128/B2355-90128_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90128/00/02/283-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90128/00/02/283-toc.html&amp;amp;searchterms=remsh&amp;amp;queryid=20030516-124855" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B2355-90128/B2355-90128_top.html&amp;amp;con=/hpux/onlinedocs/B2355-90128/00/02/283-con.html&amp;amp;toc=/hpux/onlinedocs/B2355-90128/00/02/283-toc.html&amp;amp;searchterms=remsh&amp;amp;queryid=20030516-124855&lt;/A&gt;</description>
      <pubDate>Fri, 16 May 2003 17:51:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-how-to-telnet-and-execute-shell-script-using-batch/m-p/2975432#M928292</guid>
      <dc:creator>Michael Steele_2</dc:creator>
      <dc:date>2003-05-16T17:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Question on how to telnet and execute shell script using batch file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-how-to-telnet-and-execute-shell-script-using-batch/m-p/2975433#M928293</link>
      <description>Though its a little more work, I don't like the security holes built into the Berkeley product suite.&lt;BR /&gt;&lt;BR /&gt;Therefore, I use Secure shell.&lt;BR /&gt;&lt;BR /&gt;Secure Shell: a replacement for rcp ftp and telnet that encrypts passwords&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA" target="_blank"&gt;http://www.software.hp.com/cgi-bin/swdepot_parser.cgi/cgi/displayProductInfo.pl?productNumber=T1471AA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The ssh command can be used to pass script arguments to the HP-UX server&lt;BR /&gt;&lt;BR /&gt;example ssh tzfat "cat /etc/issue"&lt;BR /&gt;&lt;BR /&gt;There are a number of free clients for your W2K environment that can be found at tucows.com or download.com&lt;BR /&gt;&lt;BR /&gt;I am attaching Chris Vail's doc on public key exchange.  It works for Linux, it works for HP-UX.  It would probably work for W2K if you find the right W2K secure shell client software.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Fri, 16 May 2003 18:05:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-how-to-telnet-and-execute-shell-script-using-batch/m-p/2975433#M928293</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-05-16T18:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Question on how to telnet and execute shell script using batch file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-how-to-telnet-and-execute-shell-script-using-batch/m-p/2975434#M928294</link>
      <description>You can write a batch script, but I honestly dont think windblows will be much use.  Your better to look for something like Xceed, or Reflections that can run rexec() or remsh() commands.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The HP is more than capable of running a command issued externally/remotely.  Can the OS your working on utilize this?&lt;BR /&gt;&lt;BR /&gt;Since the Windblows box can not rexec or remsh, you need to look at the capabilities of batch.&lt;BR /&gt;&lt;BR /&gt;Unless you install 3rd party software, you can not run a batch script that will type your username and password for you (expect in Unix world does this).&lt;BR /&gt;&lt;BR /&gt;(just dawned on me)Another possible answer is to install Cygwin, which is a UNIX toolkit addition for Windblows.  It does have rexec and remsh capabilities and may do what you need.  It also supports perl and basic POSIX scripting techniques.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Shannon</description>
      <pubDate>Fri, 16 May 2003 18:24:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-how-to-telnet-and-execute-shell-script-using-batch/m-p/2975434#M928294</guid>
      <dc:creator>Shannon Petry</dc:creator>
      <dc:date>2003-05-16T18:24:04Z</dc:date>
    </item>
    <item>
      <title>Re: Question on how to telnet and execute shell script using batch file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/question-on-how-to-telnet-and-execute-shell-script-using-batch/m-p/2975435#M928295</link>
      <description>Something else to look at - ssh&lt;BR /&gt;&lt;BR /&gt;Install ssh on the HP-UX server - then install a ssh client (putty.exe) on the Windows machine.&lt;BR /&gt;&lt;BR /&gt;Then run it like:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;putty.exe -ssh prgmr@hpuxhost -pw password -m /home/prgmr/script&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;BR /&gt;&lt;BR /&gt;BTW: putty is here:&lt;BR /&gt;&lt;A href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank"&gt;http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html&lt;/A&gt;</description>
      <pubDate>Sat, 17 May 2003 23:41:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/question-on-how-to-telnet-and-execute-shell-script-using-batch/m-p/2975435#M928295</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2003-05-17T23:41:57Z</dc:date>
    </item>
  </channel>
</rss>

