![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Webpage to Telnet via Perl and Expect: Telnet problem? | jondo | Shell Programming and Scripting | 1 | 07-22-2008 01:35 AM |
| Shell scripting with Telnet | juniordevil | Shell Programming and Scripting | 1 | 09-08-2006 02:43 AM |
| Perl script for telnet | ssmiths001 | Shell Programming and Scripting | 2 | 05-20-2006 05:29 PM |
| Telnet FTP scripting | w33man | UNIX for Dummies Questions & Answers | 2 | 09-18-2003 01:45 PM |
| scripting Telnet | TRUEST | UNIX for Dummies Questions & Answers | 2 | 07-01-2003 01:35 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Need Help on Telnet using PERL Scripting
Iam trying to connect to a system through Telnet using net::Telnet Module
#!/usr/bin/perl -w use net::Telnet $myPassword = "abcdef"; $telnet = new Net::Telnet ( Timeout=>10, Errmode=>'die'); $telnet->open (10.10.20.00); $telnet->waitfor ('/USERCODE: $/i'); $telnet->print('abc'); $telnet->waitfor('/PASSWORD: $/i'); $telnet->print("$myPassword"); $telnet->waitfor ('< $/i'); $telnet->print (who); after running script gettting following error root@sun>./tes.pl pattern match timed-out at ./tes.pl line 7 Please help me |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|