Dunno about that - OP is also $ssh->waitfor('assword',5);
Same thing. The waitfor() method takes a regex as well.
Cheers, Sören
Créateur des bugs mobiles - let loose once, run everywhere.
(hooked on the Perl Programming language)
In reply to Re^4: SSH by thread
by Happy-the-monk
in thread SSH by thread
by hxbsy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |