traccar-client-android
traccar-client-android copied to clipboard
Allow the server to issue commands
trafficstars
I would like to have a way for my server to ask the client to open a SSH tunnel on demand. This could be done by simply executing a command provided by the server. It would make sense to require enabling this feature explicitly, and only allow it when encryption is enabled.
Probably the easiest way to send command to the client is through HTTP response, but of course client needs to send a request with location data first.
Yes, that was exactly my thought. The primary purpose of Traccar of course is to send location. This gives it an ideal opportunity to receive such a command in the HTTP reply.