Kodi Community Forum
ssh command from xbox to remote host - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: ssh command from xbox to remote host (/showthread.php?tid=3520)



- dylanbox - 2004-05-12

hi,

my goal is to execute a command on a remote machine from my xbox.
actually i want to shutdown my server...
i imagined the easiest way is to connect to it via ssh and priv/public key, but how can i do this in python?

i haven't done anything in python yet, so i would be very very happy is someone of you had a working script for me.

tia,
greetings,
dylan


- dwe_3 - 2004-05-14

could try googling for ssh python. looks like there are some python modules available. would have to check that they work with xbmc python though.