I have a couple of apps that I want to use with an SSH tunnel. I'm able to establish the tunnel with ConnectBot, and start it from Tasker using an Action Intent, but I'm running into two problems:
1. The Action Intent causes ConnectBot to launch in the foreground (I would rather it just stayed in the background), and
2. I haven't found a way to use Tasker to disconnect the tunnel from within a Task
The Action Intent looks like this:
Action Intent [ Action:android.intent.action.VIEW Cat:Default Data:ssh://user@host/#nickname Extra: Extra: Target:Activity ]
Any suggestions on how to launch in the background, or disconnect from within Tasker?