Windows – Executing a command over telnet

remotetelnetwindows

Is it possible to run an executable on a remote machine using telnet?

I connect to a windows XP machine via telnet and then I execute the exe by issuing this simple command.

RunProgramme.exe

No errors, but I don't think the program run as it does not create a directory which it should. If I remote in to the remote machine uisng RDP and execute the run the command in the same way directly it works!

I have turned off firewall and any antivrius but that didn't make a difference. What else should I do?

Best Answer

Have you thought of using SSH? I know the Cygwin provides the SSH server and runs as a service. Using SSH would be a better solution than using telnet, at minimum from a security point of view, and the fact that you can put a command on the SSH line to be run.