in reply to Opening Linux Commands
The Expect module should help you when it's necessary to pass the password. Of course, I'm considering that the ssh program does not have an option to receive the password on the command line.
Another option is that you use IPC::Open2 or IPC::Open3 to execute the program, both can read and write at the program STDOUT and STDIN, respectively.
Anyway... why don't you keep using the RSA (or DSA) keys?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Opening Linux Commands
by Fletch (Bishop) on Jan 27, 2006 at 18:26 UTC | |
|
Re^2: Opening Linux Commands
by Anonymous Monk on Jan 31, 2006 at 10:03 UTC |