Expect script hangs

Posted by mfa on 2010-10-31 14:17

When I execute the expect script, sometimes the script hangs just after the ssh is successful. The error on doing a CTRL-C is

"FlushChannel: damaged channel list

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information."