You could either make a wrapper around SSH (I.e. when you press a button it executes an SSH binary on your Android device which logs in to a remote machine and runs some shell commands), or run some sort of server on the Linux machine which allows you to connect and perform tasks. It would be pretty easy to build a simple web service which allows you to reboot the machine through a HTTP post.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.