user prompt doesn't pop up with rsh command

Hello All,

I'm trying to run some script on other host by using rsh command.
This script asking for user id which follows by password requisition.
The problem which I faced is that the user requisition prompt never appear.
It look like the script is running and wait for the user id to be typed in , but the prompt for the USER doesn't appear from some reason.
Will appreciated if someone have any solution/s for that issue.

P.S: BTW the script is working fine directly w/o rsh command.

Thanks,
Ronen Alalush

can you please send me the piece of code?