<?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 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet/m-p/4013087#M541464</link>
    <description>The error looks like an authentication failure.&lt;BR /&gt;what you mean "run my switch on bash script"?</description>
    <pubDate>Mon, 04 Jun 2007 21:21:42 GMT</pubDate>
    <dc:creator>skt_skt</dc:creator>
    <dc:date>2007-06-04T21:21:42Z</dc:date>
    <item>
      <title>telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet/m-p/4013086#M541463</link>
      <description>hi, i try run my switch(d-link) on bash script but it fail.My username and password are correct.The error appear like this :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   DES-3326SR Fast Ethernet Switch Command Line Interface&lt;BR /&gt;&lt;BR /&gt;                            Firmware: Build 4.03-B01&lt;BR /&gt;          Copyright(C) 2000-2005 D-Link Corporation. All rights reserved.&lt;BR /&gt;UserName:fazly&lt;BR /&gt;PassWord:*******&lt;BR /&gt;Fail!&lt;BR /&gt;UserName:Connection closed by foreign host.&lt;BR /&gt;&lt;BR /&gt;what shoul i do?</description>
      <pubDate>Mon, 04 Jun 2007 21:16:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet/m-p/4013086#M541463</guid>
      <dc:creator>fazly</dc:creator>
      <dc:date>2007-06-04T21:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet/m-p/4013087#M541464</link>
      <description>The error looks like an authentication failure.&lt;BR /&gt;what you mean "run my switch on bash script"?</description>
      <pubDate>Mon, 04 Jun 2007 21:21:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet/m-p/4013087#M541464</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-06-04T21:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet/m-p/4013088#M541465</link>
      <description>i mean i build coding in bash script (shell script) and it appear in terminal something like this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;             DES-3326SR Fast Ethernet SwitCommand Line Interface&lt;BR /&gt;  Copyright(C) 2000-2005 D-Link Corporation. All rights reserved.&lt;BR /&gt;UserName:fazly&lt;BR /&gt;PassWord:*******&lt;BR /&gt;DES-3326SR:4#&lt;BR /&gt;in my terminal it success but in shell script it fail. Why? so here this is my coding in shell script.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;host=10.90.90.90&lt;BR /&gt;port=23&lt;BR /&gt;UserName=fazly&lt;BR /&gt;PassWord=cat&lt;BR /&gt;&lt;BR /&gt;(echo open ${host} ${port}&lt;BR /&gt;sleep 1&lt;BR /&gt;echo ${UserName}&lt;BR /&gt;sleep 1&lt;BR /&gt;echo ${PassWord}&lt;BR /&gt;sleep 1&lt;BR /&gt;echo exit) | telnet&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 04 Jun 2007 22:18:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet/m-p/4013088#M541465</guid>
      <dc:creator>fazly</dc:creator>
      <dc:date>2007-06-04T22:18:26Z</dc:date>
    </item>
    <item>
      <title>Re: telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet/m-p/4013089#M541466</link>
      <description>I'm not sure if your sleep is long enough?&lt;BR /&gt;&lt;BR /&gt;Typically you use expect to script this.&lt;BR /&gt;Or for ftp, you put the user and password on the same line, and use -n.</description>
      <pubDate>Mon, 04 Jun 2007 23:07:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet/m-p/4013089#M541466</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-06-04T23:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet/m-p/4013090#M541467</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Try increasing your sleep time more. Especially the first sleep.&lt;BR /&gt;From sleep 1 to sleep 3 , etc. If it is a slow connection you will have to increase accordingly. Play with the sleep then might be ok if you do not want to use expect script.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 10 Jun 2007 05:01:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet/m-p/4013090#M541467</guid>
      <dc:creator>Rasheed Tamton</dc:creator>
      <dc:date>2007-06-10T05:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: telnet</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/telnet/m-p/4013091#M541468</link>
      <description>&amp;gt; Typically you use expect to script this.&lt;BR /&gt;&lt;BR /&gt;Or Kermit, which has nice scripting features.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.columbia.edu/kermit/" target="_blank"&gt;http://www.columbia.edu/kermit/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.columbia.edu/kermit/scriptlib.html" target="_blank"&gt;http://www.columbia.edu/kermit/scriptlib.html&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://www.columbia.edu/kermit/ckscripts.html" target="_blank"&gt;http://www.columbia.edu/kermit/ckscripts.html&lt;/A&gt;</description>
      <pubDate>Sun, 10 Jun 2007 08:08:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/telnet/m-p/4013091#M541468</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2007-06-10T08:08:47Z</dc:date>
    </item>
  </channel>
</rss>

