hi Chris,
           i keep hearing that and it makes me think that it would be good to
learn expect. also perl has a expect module;-)) i have written the program 
in perl and i am able to establish a connection but when the call for the 
passphrase comes i am unable to pass to the server for authentication as 
the ssh tells me that since i am using STDIN it will not assign a tty. so
knowing that i build a tty to communicate with ssh and now can't get the ptty 
to actually exec programs .. so my original method using open2() did initiate
a connection but couldn't transmit passphrase as ssh did not spawn a tty 
since it detected i was using STDIN only. sort of  a chicken and egg story..
b.t.w. i fully intend to release this program GPL as soon as it is complete;-))
other than that is is close to a release stage:-))
                                        Best Regards,
                                                           [EMAIL PROTECTED]
> Have you tried some sort of "expect" script.  The
language is pretty  > powerful...
> 
> CT

Reply via email to