Sale has ended but you can still get this app.
Download JuiceSSH Tasker Plugin Now

Official Description

This is a plugin for JuiceSSH that allows you to automate your terminal sessions with Tasker

It allows you to:

* Launch SSH / Mosh / telnet or local android terminal sessions and optionally run a command/script on the session.
* Toggle port forwards

This plugin requires both JuiceSSH and Tasker to be installed.