configure Kodi remotely

Hello,
I had to remotely reset an openelec htpc.
I’ve lost all my settings, including addons allowing me to remote connection (vnc)
How can I install add-ons remotely?
I can still connect to my htpc through ssh, but I don’t know how to continue…
please help Wink