Unfortunately, the problem with using telnet to connect is that A) you are transmitting a password in clear text across the network and B) you are relying on the telnet service to be running on the remote host. This typically would work fine for all flavours of *nix but not necessarally for WinNT-based systems, IIRC, telnet services need to be turned on explicitly on an NT/2000 server (but I'm not an NT admin so I'm not 100% sure of that). Using
is probably a better solution.