in reply to Re: Run interactive commands with "Net::SSH::Expect"
in thread Run interactive commands with "Net::SSH::Expect"
I had tried that option, But I tried it one more time after reading your response....
I increased the time out period aslo I used "\s*" to match number of spaces. But no luck. Here is hte output:
# ./change_password.pl The login was successful Let's change the password of root on remote server now
I am pretty sure that my script is ignoring the "send" statements and then apparently dying.
Thanks for taking time to provide your feedback.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Run interactive commands with "Net::SSH::Expect"
by slayedbylucifer (Scribe) on Jan 13, 2011 at 11:12 UTC |