And have you tried to just changing your template into the language library you are actually using:
<template templatetype="command" name="go"><![CDATA[^go to (?<exit>.*)$|^go (?<exit>.*)$|^(?exit>north|east|south|west|northeast|northwest|southeast|southwest|in|out|up|down|n|e|s|w|ne|nw|se|sw|o|u|d)$]]></template>
by
<template templatetype="command" name="go"><![CDATA[^go to (?<exit>.*)$|^go (?<exit>.*)$|^ssh (?<exit>.*)$|^(?exit>north|east|south|west|northeast|northwest|southeast|southwest|in|out|up|down|n|e|s|w|ne|nw|se|sw|o|u|d)$]]></template>
or
<template templatetype="command" name="go"><![CDATA[^ssh (?<exit>.*)$|^(?exit>north|east|south|west|northeast|northwest|southeast|southwest|in|out|up|down|n|e|s|w|ne|nw|se|sw|o|u|d)$]]></template>
I could be easier than create a new verb associated to a function who already exist

PS: I am sorry if jaynabonne have already solved your problem when I post that, but I have a very bad internet access today (~50Mb/s) and I can't verify that now.