Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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?

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2015-08-29 13:54 GMT
Find Nodes?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...

    Results (343 votes), past polls