Kodi Community Forum

Full Version: ssh command from xbox to remote host
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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.