<?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: telnet question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272760#M885166</link>
    <description>Any particular reason you can't use "remsh", "rexec" or "ssh"?</description>
    <pubDate>Tue, 11 May 2004 03:01:08 GMT</pubDate>
    <dc:creator>Mark Grant</dc:creator>
    <dc:date>2004-05-11T03:01:08Z</dc:date>
    <item>
      <title>telnet question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272756#M885162</link>
      <description>How can i give all inputs to telnet through a file something like say telnet feeder&lt;BR /&gt;telnet_feeder usernm passwd file_containing_set of_commands</description>
      <pubDate>Tue, 11 May 2004 02:35:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272756#M885162</guid>
      <dc:creator>yatin</dc:creator>
      <dc:date>2004-05-11T02:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: telnet question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272757#M885163</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;sorry, do not quite understand what you are trying to do. please explain more.&lt;BR /&gt;&lt;BR /&gt;regards.</description>
      <pubDate>Tue, 11 May 2004 02:38:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272757#M885163</guid>
      <dc:creator>Joseph Loo</dc:creator>
      <dc:date>2004-05-11T02:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: telnet question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272758#M885164</link>
      <description>I am writing a shell script which will accept take following parameters:&lt;BR /&gt;1)hostname &lt;BR /&gt;2)username&lt;BR /&gt;3)password&lt;BR /&gt;5)input file this contains commands to be executed on remote machine.&lt;BR /&gt;This script will telnet the hostname and login using username and password and then execute the commands containing in the file</description>
      <pubDate>Tue, 11 May 2004 02:42:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272758#M885164</guid>
      <dc:creator>yatin</dc:creator>
      <dc:date>2004-05-11T02:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: telnet question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272759#M885165</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if my understanding for your question is correct then try the following :&lt;BR /&gt;&lt;BR /&gt;REMOTE=hostname #or IP address &lt;BR /&gt;(sleep 5 &lt;BR /&gt;echo username &lt;BR /&gt;sleep 5 &lt;BR /&gt;echo password &lt;BR /&gt;sleep 15 &lt;BR /&gt;echo "ls -ald /tmp" #Your command &lt;BR /&gt;sleep 5 &lt;BR /&gt;echo exit) |telnet $REMOTE&lt;BR /&gt;&lt;BR /&gt;This should do the trick&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Tue, 11 May 2004 02:49:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272759#M885165</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-05-11T02:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: telnet question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272760#M885166</link>
      <description>Any particular reason you can't use "remsh", "rexec" or "ssh"?</description>
      <pubDate>Tue, 11 May 2004 03:01:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272760#M885166</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-05-11T03:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: telnet question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272761#M885167</link>
      <description>See if this works with following:&lt;BR /&gt; echo "Enter Hostname :"&lt;BR /&gt; read VAR1&lt;BR /&gt; echo "Enter Username"&lt;BR /&gt; read VAR2&lt;BR /&gt; echo " Enter command to execute :\n"&lt;BR /&gt; read VAR3 &lt;BR /&gt; remsh $VAR1 -l $VAR2 $VAR3&lt;BR /&gt;&lt;BR /&gt;This will not ask you for password but verify for the username and also you need to &lt;BR /&gt;.rhosts files for the same.&lt;BR /&gt;&lt;BR /&gt;Thought could be an simpler solution but security issue is still there.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 11 May 2004 03:02:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272761#M885167</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-05-11T03:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: telnet question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272762#M885168</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Look for "expect", it expect for certain reply from the remote host before issuing another order.&lt;BR /&gt;&lt;BR /&gt;Ant - the java make utility - is also capable of this.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Nicolas</description>
      <pubDate>Tue, 11 May 2004 03:05:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272762#M885168</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-05-11T03:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: telnet question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272763#M885169</link>
      <description>Hi yatin,&lt;BR /&gt;&lt;BR /&gt;what do you think about assigning points ?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Franky</description>
      <pubDate>Thu, 13 May 2004 03:03:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet-question/m-p/3272763#M885169</guid>
      <dc:creator>Franky_1</dc:creator>
      <dc:date>2004-05-13T03:03:23Z</dc:date>
    </item>
  </channel>
</rss>

