Struggling to execute a command over ssh

Yesterday I did the same and came across the way you showed it didn’t work. What did work for me was (as mentioned in another thread by a/the developer):

ssh <remote host> "/opt/vyatta/bin/vyatta-op-cmd-wrapper show vrrp"
Name    Interface      VRID  State      Priority  Last Transition
------  -----------  ------  -------  ----------  -----------------
int     eth1              1  MASTER          200  6h53m
public  eth0            102  MASTER          200  6h53m