Thanks for the tip, salva. I am in the process of changing over to OpenSSH now to see if that resolves it. Looks like there is some weirdness happening due to the nature of the remote shell (very proprietary, does not adhere to any known standard of man or beast).