This method uses a dashboard command that is available on all sessions. It is a good fit for a scenario where you usually connect with a specific technology, but occasionally need to use another.
Create a local or database template in File – Templates – Templates.
In the computer field, use the $HOST$ variable and click on OK.
In the case that you need to launch a session using a template, click on Open with a Template in the Dashboard and select the appropriate template.