<?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: passing a login string to a telnet session in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147556#M8697</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;you might want to try -a (automatic login) together with -l . If this works or not really depends on the telnet deamon on the HP 3000. &lt;BR /&gt;You do not need the telnet daemon for this to be active on the linux box as you are only using the telnet client, not the server. &lt;BR /&gt;&lt;BR /&gt;Greetings, Martin</description>
    <pubDate>Wed, 17 Dec 2003 17:07:02 GMT</pubDate>
    <dc:creator>Martin P.J. Zinser</dc:creator>
    <dc:date>2003-12-17T17:07:02Z</dc:date>
    <item>
      <title>passing a login string to a telnet session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147553#M8694</link>
      <description>I need to generate a telnet session to a HP 3000 box and give the logon as a specific string to initiate an event. &lt;BR /&gt;Once I telnet into the 3000 box I can't get the linux box to give the login string. &lt;BR /&gt;It doesn't appear as though the 3000 box is able to except the -l option of the telnet command to specify user.&lt;BR /&gt;&lt;BR /&gt;Is there another way to do this or can I script my way around this?</description>
      <pubDate>Wed, 17 Dec 2003 15:18:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147553#M8694</guid>
      <dc:creator>Ross Hansen</dc:creator>
      <dc:date>2003-12-17T15:18:55Z</dc:date>
    </item>
    <item>
      <title>Re: passing a login string to a telnet session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147554#M8695</link>
      <description>Buy default Linux does not enable the telnetd daemon on install.&lt;BR /&gt;&lt;BR /&gt;Here is how to turn it on.&lt;BR /&gt;&lt;BR /&gt;In the directory /etc/xinetd.d/telnet file&lt;BR /&gt;&lt;BR /&gt;change disable=yes to disable=no&lt;BR /&gt;&lt;BR /&gt;save the file&lt;BR /&gt;&lt;BR /&gt;service xinetd restart&lt;BR /&gt;&lt;BR /&gt;Now telnet login will be allowed.&lt;BR /&gt;&lt;BR /&gt;You are better off from a security standpoint to use ssh(Secure Shell on HP-UX) to connect to openssh on Linux.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Wed, 17 Dec 2003 15:26:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147554#M8695</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2003-12-17T15:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: passing a login string to a telnet session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147555#M8696</link>
      <description>Do you want to automate some remote command through telnet ?&lt;BR /&gt;&lt;BR /&gt;SSH has this capability built-in ( with public/private keys ). &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Normally when I have telnet admin ports for some programs ( no passwd required if connection is from localhost ) I do like this&lt;BR /&gt;&lt;BR /&gt;(sleep 1; echo "command 1"; sleep 2; echo "command 2; sleep 1; "echo exit" ) | telnet localhost someport&lt;BR /&gt;&lt;BR /&gt;... you can try to 'echo' the login/passwd, I never did.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Dec 2003 16:01:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147555#M8696</guid>
      <dc:creator>Olivier Drouin</dc:creator>
      <dc:date>2003-12-17T16:01:45Z</dc:date>
    </item>
    <item>
      <title>Re: passing a login string to a telnet session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147556#M8697</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;you might want to try -a (automatic login) together with -l . If this works or not really depends on the telnet deamon on the HP 3000. &lt;BR /&gt;You do not need the telnet daemon for this to be active on the linux box as you are only using the telnet client, not the server. &lt;BR /&gt;&lt;BR /&gt;Greetings, Martin</description>
      <pubDate>Wed, 17 Dec 2003 17:07:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147556#M8697</guid>
      <dc:creator>Martin P.J. Zinser</dc:creator>
      <dc:date>2003-12-17T17:07:02Z</dc:date>
    </item>
    <item>
      <title>Re: passing a login string to a telnet session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147557#M8698</link>
      <description>You can use the "expect" utility capabilities to simply script your way to login to remote station via telnet.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;read it's man for more details...</description>
      <pubDate>Thu, 18 Dec 2003 01:38:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147557#M8698</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2003-12-18T01:38:03Z</dc:date>
    </item>
    <item>
      <title>Re: passing a login string to a telnet session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147558#M8699</link>
      <description>If ssh or rcommands are not a way, then the only working solution is expect.&lt;BR /&gt;&lt;BR /&gt;  massimo</description>
      <pubDate>Thu, 18 Dec 2003 05:06:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147558#M8699</guid>
      <dc:creator>Massimo Bianchi</dc:creator>
      <dc:date>2003-12-18T05:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: passing a login string to a telnet session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147559#M8700</link>
      <description>Oh, I forgot about expect. I used it for dialup login sequences. way to go.</description>
      <pubDate>Thu, 18 Dec 2003 11:47:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147559#M8700</guid>
      <dc:creator>Olivier Drouin</dc:creator>
      <dc:date>2003-12-18T11:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: passing a login string to a telnet session</title>
      <link>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147560#M8701</link>
      <description>Linux box runninh ssh and 3000 box running mpe. I will be using except util.&lt;BR /&gt;&lt;BR /&gt;Thanks everyone</description>
      <pubDate>Thu, 18 Dec 2003 12:06:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/passing-a-login-string-to-a-telnet-session/m-p/3147560#M8701</guid>
      <dc:creator>Ross Hansen</dc:creator>
      <dc:date>2003-12-18T12:06:59Z</dc:date>
    </item>
  </channel>
</rss>

