<?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: running script to test telnet connectivity in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/running-script-to-test-telnet-connectivity/m-p/3950347#M290159</link>
    <description>Adam,&lt;BR /&gt;you can use expect to mimik pretty much any input. Even works for scripted passwd.&lt;BR /&gt;&lt;BR /&gt;Available from:&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.43/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.43/&lt;/A&gt;</description>
    <pubDate>Fri, 23 Feb 2007 10:47:03 GMT</pubDate>
    <dc:creator>Peter Godron</dc:creator>
    <dc:date>2007-02-23T10:47:03Z</dc:date>
    <item>
      <title>running script to test telnet connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-script-to-test-telnet-connectivity/m-p/3950345#M290157</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;One of my colleagues wants to write a script that tests for connectivity on a specific port.&lt;BR /&gt;&lt;BR /&gt;Obviously if you do a telnet you need to do a control c to break that connection so how can I manage this test within a script.&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Fri, 23 Feb 2007 10:14:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-script-to-test-telnet-connectivity/m-p/3950345#M290157</guid>
      <dc:creator>Adam Noble</dc:creator>
      <dc:date>2007-02-23T10:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: running script to test telnet connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-script-to-test-telnet-connectivity/m-p/3950346#M290158</link>
      <description>Have a look at the end of this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1052758" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1052758&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Seems to come down to:&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt; The trick here is how to send the ctrl-]. Use this key sequence: ctrl-v ctrl-].&lt;BR /&gt;You can use ctrl-v and then any other ctrl sequence to get that exact sequence.&lt;BR /&gt;&lt;BR /&gt;Note that cut-n-paste from this forum will NOT grab the ctrl-C or ctrl-]!! &amp;lt;&amp;lt;&amp;lt;</description>
      <pubDate>Fri, 23 Feb 2007 10:22:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-script-to-test-telnet-connectivity/m-p/3950346#M290158</guid>
      <dc:creator>Georg Tresselt</dc:creator>
      <dc:date>2007-02-23T10:22:05Z</dc:date>
    </item>
    <item>
      <title>Re: running script to test telnet connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-script-to-test-telnet-connectivity/m-p/3950347#M290159</link>
      <description>Adam,&lt;BR /&gt;you can use expect to mimik pretty much any input. Even works for scripted passwd.&lt;BR /&gt;&lt;BR /&gt;Available from:&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.43/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Tcl/expect-5.43/&lt;/A&gt;</description>
      <pubDate>Fri, 23 Feb 2007 10:47:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-script-to-test-telnet-connectivity/m-p/3950347#M290159</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2007-02-23T10:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: running script to test telnet connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-script-to-test-telnet-connectivity/m-p/3950348#M290160</link>
      <description>Hi,&lt;BR /&gt;why snd ctrl-c when a simple quit is enougth?&lt;BR /&gt;&lt;BR /&gt;&amp;gt; telnet localhost 25&amp;lt;</description>
      <pubDate>Mon, 26 Feb 2007 03:25:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-script-to-test-telnet-connectivity/m-p/3950348#M290160</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2007-02-26T03:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: running script to test telnet connectivity</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/running-script-to-test-telnet-connectivity/m-p/3950349#M290161</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;This sounds like a job for Nmap:&lt;BR /&gt;&lt;BR /&gt;Nmap download:&lt;BR /&gt;&lt;A href="http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/nmap-3.93/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Networking/Admin/nmap-3.93/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here is the output from a port-scan on port 25:&lt;BR /&gt;&lt;BR /&gt;root@servera:/&amp;gt; nmap -p 25 serverb&lt;BR /&gt;&lt;BR /&gt;Starting nmap V. 2.53 by fyodor@insecure.org ( &lt;A href="http://www.insecure.org/nmap/" target="_blank"&gt;www.insecure.org/nmap/&lt;/A&gt; )&lt;BR /&gt;Interesting ports on serverb:&lt;BR /&gt;Port       State       Service&lt;BR /&gt;25/tcp     open        smtp&lt;BR /&gt;&lt;BR /&gt;Nmap run completed -- 1 IP address (1 host up) scanned in 0 seconds&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards, Kasper</description>
      <pubDate>Mon, 26 Feb 2007 04:11:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/running-script-to-test-telnet-connectivity/m-p/3950349#M290161</guid>
      <dc:creator>Kasper Hedensted</dc:creator>
      <dc:date>2007-02-26T04:11:05Z</dc:date>
    </item>
  </channel>
</rss>

