-   Linux - Software (
-   -   Software to execute a command on another computer (

trafikpolisen 02-07-2013 10:02 PM

Software to execute a command on another computer
I'm looking for some client/server-based software that does the following:
On computer A the server part of the software runs as a service/daemon.
On computer B i execute the client program, for example, "sendcommandclient [command to execute on server computer]". Computer B sends the command to computer A, which executes it.
Does something like this exist?
To complicate things, it needs to be cross-platform, with Windows-based server part and linux client.

TobiSGD 02-07-2013 10:06 PM


trafikpolisen 02-07-2013 10:33 PM

Is that possible with openssh? I use openssh between linux computers, but need to login first.
I have a Tellstick ( to control lighting at home. I used to have it connected to my desktop computer and used the provided tdtool command together with a keyboard shortcut to control receiver (for example Windows-key + F2 to turn receiver 2 on).
For various reasons i now want to have the Tellstick connected to my Windows-based server, but still want to be able to control it with keyboard shortcuts from my desktop computer (or laptop).

TobiSGD 02-07-2013 11:25 PM

Please describe that further, I am not quite getting it:
1. Is tdtool a Windows or a Linux program?
2. Is it a GUI or a CLI tool?
3. Dou you use keyboard combinations to launch the command with specific parameters or do you use them after the tool started to control it?

trafikpolisen 02-08-2013 08:41 AM

tdtool is a CLI program to control the tellstick. I think all third-party software available for the Tellstick calls it. For example, to turn on receiver 4 you enter "tdtool --on 4". Every receiver is stored in a config file. tdtool is available both for Windows and Linux. So yes, i use keyboard combinations to launch the command with parameters.

TobiSGD 02-09-2013 07:36 AM

Then SSH should do the job. Install a SSH server on your Windows machine and enable key-based authorization, so that you don't have to use passwords. Then set up keyboard combinations on the Linux machine to launch the tool like this:

ssh user@server "tdtool parameters_here"

trafikpolisen 02-12-2013 02:55 AM

After a few hours on Google i managed to get it to work. Running freesshd on the server. Had some problems getting the keys to work.
Works a treat now! Thanks for the help!

TobiSGD 02-12-2013 04:44 AM

Nice that it works for you. Please mark this thread as solved using the thread tools at the top of the thread.

unSpawn 02-12-2013 06:21 AM

Moved: This thread is more suitable in the Software forum and has been moved accordingly so you can mark it solved (doesn't work in the General forum).

All times are GMT -5. The time now is 04:00 PM.