Linux based application automation

Scenario : My application is linux based and i have to start the services using ssh to launch the application on human machine interface.

After that i can see the application on hmi which is kind of tablet.

So which tool can be used for automating it and how? Appium/selenium /something else??