[SOLVED] Software to execute a command on another computer
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
Is that possible with openssh? I use openssh between linux computers, but need to login first.
I have a Tellstick (http://www.telldus.com/products/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).
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?
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.
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:
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!
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.