Rsh

Hi All,

I want to execute a command from my Windows machine to Linux machine using RSH only

d:> rsh <Linux machine add> -l <user_name> pwd>dir

in linux machine users home directory in .rhosts file I entered the windows machine IP address and user name.

In linux etc/hosts.equiv file I entered the Windows machine IP addrss;

In etc/hosts.allow file also I entered the windows machine IP address

While executing the above RSH command it gives the error message

Permission denied.
rsh: can't establish connection

Please let me know how to solve this problem

Thanks

From that error, it sounds like the rsh connection itself is failing.
What happens if you just type 'rsh <Linux machine add>' ?
Do you get a prompt for username and password?