Quantcast
Channel: Execute a remote command on a Mac from Windows - Server Fault
Viewing all articles
Browse latest Browse all 3

Answer by Imo for Execute a remote command on a Mac from Windows

$
0
0

I suppose on the windows server you could use putty/plink to connect to the mac via SSH (assuming that ssh is open and running).

First use putty to create a shared key on the windows server and you'll put that on the mac... probably authorized_keys file. Don't set a password on the key.

Then, you could use plink to login and run a command using that key.

Check out: http://tartarus.org/~simon/putty-snapshots/htmldoc/Chapter7.html#plink-usage-batch "7.2.2 Using Plink for automated connections"

Putty is available here: http://www.chiark.greenend.org.uk/~sgtatham/putty/


Viewing all articles
Browse latest Browse all 3

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>