ssh issue w/ "expect"?

I've observed the following behaviour when running expect's autopasswd:

the password change is processed, but at the completion it does not return control to the terminal (i.e. terminal / keyboard frozen).

Similar experience with PowerBroker's pbreplay keystroke log player.

This occurs on all of the OSes noted above.

In testing, I note that in all cases, log in via telnet and both of the above function properly across all the noted OSes. This leads me to suspect issues w/ ssh and exec's, or possibly redirection.

Anybody have similar experience and/or know for sure if a newer OpenSSH will fix this issue? I'd like some confirmation before I start rebuilding everything from source for the HP-UX (and AIX 4.3.3) boxes.