Revert "Revert "util: T2226: rewrite remote function helpers to use cmd""
Revert "Revert "util: T2226: rewrite remote function helpers to use cmd""

This reverts commit 10717c6a3cdf7da7025b03c1abdbd813b4970b19.

vyos/vyos-1x,vyos/vyos-1x,vyos/vyos-1x,vyos/vyos-1x