As Chris says, if you are doing: host1% ssh host2 sudo rm /etc/passwd then sudo cannot turn off echo since ssh has not allocated a tty (rsh behaves similarly). The key here is to pass ssh the "-t" flag so it allocates a tty and sudo is thus able to turn off echo. - todd