hi,
    thanks for the pointers.. any really good O'Reilly quality books on 
writing with expect from a ground floor on learning expect? also is there 
any good examples on leveraging expect with perl as i have already 
written much of the program using perl so thought a expect module would 
be a nice try;-))
                                                  Thanks 'Again'
                                                   [EMAIL PROTECTED]
> #!/usr/bin/expect
> 
> spawn ssh <host to which you are trying to connect>
> 
> expect {
> assword: { send <your password>\n; interact }
> }
> 
> 
> -- 
>         Blue Lang                              Unix Systems Admin
>         QSP, Inc., 3200 Atlantic Ave, Ste 100, Raleigh, NC, 27604
>         Home: 919 835 1540  Work: 919 875 6994  Fax: 919 872 4015

Reply via email to