This works fine with Putty - with Plink (in Putty's program folder) as a batch file:
Code: wifi-on.bat
start C:\Path\plink.exe -ssh [email protected] -pw password connmanctl tether wifi on
As skin button with RunScript(/storage/.config/wifi-on.py) I didn't make it yet
Code: wifi-on.py
import os
os.system('ssh [email protected] connmanctl tether wifi on')
From PC over network the file works after password request, but not from Kodi.