Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to run a batch script on a Windows XP machine from my Mac 10.6.6. I installed Windows SFU, including Remote Shell Service, which I verified is started on the remote machine ( However, I'm unable to connect from my Mac, repeatedly getting timeouts ...

$ rsh 'cd C:\' Operation timed out
$ telnet 4444
Connected to
Escape character is '^]'.

Notice that I'm able to telnet successfully into another service, so it's not a network issue. I created a ~/.rhosts file that consists of ... developer

Any ideas why I can't connect or what else I need to do to troubleshoot this issue? - Dave

share|improve this question

migrated from Jul 1 '11 at 1:59

This question came from our site for professional and enthusiast programmers.

Do you have to use rsh(1)? It is unauthenticated, unencrypted, provides no message integrity or privacy, and is easily spoofed. Do you really want that for your Windows machine?

I suggest instead running an ssh server on windows; then you can just use ssh(1) and get strong authentication and encryption. And use modern tools.

share|improve this answer

You're able to successfully telnet to port 4444, but rsh usually listens on port 514. Maybe your firewall config is letting 4444 through, but blocking 514?

You might try running Wireshark on the Windows machine, to watch the network traffic while you try to establish an rsh connection.

share|improve this answer

You must log in to answer this question.