Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: problem in connecting remote host

by perladdict (Chaplain)
on Dec 07, 2006 at 15:33 UTC ( #588363=note: print w/ replies, xml ) Need Help??


in reply to problem in connecting remote host

define the prompt as
$prompt = 'bash-2.03\#
print $prompt;
it will prints the exact prompt which u want to match in that variable
one more error u have to correct by giving space after '/login: $/i'
as well as '/paswd: $/',after these changes script will works fine


Comment on Re: problem in connecting remote host

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://588363]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (8)
As of 2014-09-20 07:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (157 votes), past polls