<?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: hi, passing information to telnet in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160416#M897573</link>
    <description>You can use the utility "expect".&lt;BR /&gt;&lt;BR /&gt;Download it from the HP Porting Centre&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/" target="_blank"&gt;http://hpux.connect.org.uk/&lt;/A&gt;</description>
    <pubDate>Fri, 09 Jan 2004 07:42:33 GMT</pubDate>
    <dc:creator>Chris Wilshaw</dc:creator>
    <dc:date>2004-01-09T07:42:33Z</dc:date>
    <item>
      <title>hi, passing information to telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160415#M897572</link>
      <description>is there any method to pass tha username and password to telnet command and do the oprations like..&lt;BR /&gt;&lt;BR /&gt;ftp -n &amp;lt;&amp;lt; EOF&lt;BR /&gt;open &lt;HOST&gt;&lt;BR /&gt;user &lt;USER name=""&gt; &amp;lt; pass word&amp;gt;&lt;BR /&gt;..............&lt;BR /&gt;COMMANDS&lt;BR /&gt;................&lt;BR /&gt;EOF&lt;BR /&gt;&lt;BR /&gt;THANKING YOU.&lt;BR /&gt;HARI KRISHNA&lt;/USER&gt;&lt;/HOST&gt;</description>
      <pubDate>Fri, 09 Jan 2004 07:40:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160415#M897572</guid>
      <dc:creator>harikrishna</dc:creator>
      <dc:date>2004-01-09T07:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: hi, passing information to telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160416#M897573</link>
      <description>You can use the utility "expect".&lt;BR /&gt;&lt;BR /&gt;Download it from the HP Porting Centre&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/" target="_blank"&gt;http://hpux.connect.org.uk/&lt;/A&gt;</description>
      <pubDate>Fri, 09 Jan 2004 07:42:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160416#M897573</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2004-01-09T07:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: hi, passing information to telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160417#M897574</link>
      <description>hi my ,&lt;BR /&gt;  problem is to write a script that connected to the mail server from my system and to execute the script which is in mailserver.&lt;BR /&gt;&lt;BR /&gt;THANKING YOU</description>
      <pubDate>Fri, 09 Jan 2004 07:54:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160417#M897574</guid>
      <dc:creator>harikrishna</dc:creator>
      <dc:date>2004-01-09T07:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: hi, passing information to telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160418#M897575</link>
      <description>Seems to me you're better of using ssh or remsh. That way you can configure it to connect to the other side without ever sending a password over the network.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 09 Jan 2004 08:18:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160418#M897575</guid>
      <dc:creator>Elmar P. Kolkman</dc:creator>
      <dc:date>2004-01-09T08:18:50Z</dc:date>
    </item>
    <item>
      <title>Re: hi, passing information to telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160419#M897576</link>
      <description>ITRC Knowledge Base document KBRC00001309 shows how to execute ftp in a shell script.</description>
      <pubDate>Fri, 09 Jan 2004 08:28:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160419#M897576</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2004-01-09T08:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: hi, passing information to telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160420#M897577</link>
      <description>I'm with Elmar on this one.&lt;BR /&gt; &lt;BR /&gt;"remsh hostname command" is the simplest form assuming there is a .rhosts file on the host you are connecting to in the home directory of the user you are connecting to that has the source hostname in it.&lt;BR /&gt; &lt;BR /&gt;remsh is less secure than ssh and shouldn't be used where the network is untrusted.  "ssh" on the other had, is more secure but a bit more difficult to get it to not require a password (at least it is for me because I've never done it).</description>
      <pubDate>Fri, 09 Jan 2004 08:46:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160420#M897577</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-01-09T08:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: hi, passing information to telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160421#M897578</link>
      <description>Hi Hari,&lt;BR /&gt;&lt;BR /&gt;As Chris Said already Use "Expect" (It is a small scripting language like shell and it is available for almost all unix falvors).&lt;BR /&gt;&lt;BR /&gt;Expect script is used to automate interactive command based utilities like, telnet , ftp, rlogin etc.&lt;BR /&gt;&lt;BR /&gt;It can be embedded with Shell script too.&lt;BR /&gt;&lt;BR /&gt;-Vijay</description>
      <pubDate>Fri, 09 Jan 2004 09:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160421#M897578</guid>
      <dc:creator>Vijaya Kumar_3</dc:creator>
      <dc:date>2004-01-09T09:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: hi, passing information to telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160422#M897579</link>
      <description>why don't you assign some points to the people who are helping you!!</description>
      <pubDate>Thu, 22 Jan 2004 13:04:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160422#M897579</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-01-22T13:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: hi, passing information to telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160423#M897580</link>
      <description>As others have said - you can use expect or rsh.&lt;BR /&gt;&lt;BR /&gt;If it's just ftp, you can do it with .netrc file.&lt;BR /&gt;&lt;BR /&gt;For the user that executes your ftp script, create a .netrc file in the home dir with the permissions 400, owner them:sys&lt;BR /&gt;&lt;BR /&gt;In the file you put:&lt;BR /&gt;&lt;BR /&gt;machine ip.of.remote.machine login loginid password thepassword&lt;BR /&gt;&lt;BR /&gt;Then in your script, remove the &lt;BR /&gt;user &lt;USER name=""&gt; &amp;lt; pass word&amp;gt;&lt;BR /&gt;line.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff&lt;/USER&gt;</description>
      <pubDate>Thu, 22 Jan 2004 18:43:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/hi-passing-information-to-telnet/m-p/3160423#M897580</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-01-22T18:43:30Z</dc:date>
    </item>
  </channel>
</rss>

