From: Roland G. <RGi...@cp...> - 2003-09-03 06:23:49
|
jaws wrote: > How will I use Expect to connect to and execute a command on a remote host. You won't. You will use ssh to do that, either the command-line client or one of its Perl cousins, Net::SSH or Net::SSH::Perl. And you will set up authentication using private and public keys as it was meant for ssh. And you will not store passwords in plaintext somewhere in your scripts. :o) Roland -- RGi...@cp... |