I think you could use
Event - Intent Received for that in Tasker
as Action set something like net.dinglish.tasker.MYTASK1
then if you send the correct Intent from the command line, tasker will catch this and you can act appropriately..
not sure about how exactly you send an intent from cli but I have seen it somewhere..
This should then also allow you to do it remotely over SSH..