Howdy Folks,
I am attempting to do something that was discussed
here a while back.
Unfortunately the solution that was given at that time does not work in my
case, the ssh keys can NOT be set to automatically allow a connect.
I need to use expect to control a script that uses
expect to do some tasks over ssh. If
automated login is not supported, the script that I call pops up a password prompt (straight
out of ssh). When my script calls the first script, the error "Pseudo-terminal will not be allocated
because stdin is not a terminal" is all I get back -- no password prompt. I understand that
I don't have a TTY and that I must use IO:Tty to perform the relevant magic (this was the suggestion
of Merlyn in that thread).
I have been RTFMing all afternoon and have come to roadblock. I just don't understand
the syntax of how to use $object->manual_stty, $object->manual_stty.
If someone, whose Kung Fu is greater than mine, could point me to some source (I really have been searching all over) or a snippet that
might explain how to use this functionality I would really appreciate it.
Many Thanks!
e.