if the remote shell is rsh then use blocking IO