cfgutil no longer works via ssh after upgrading to Sierra
I've found a very awkward workaround, though input is hidden:


Create a file, e.g. /tmp/cfgutil.sh on the server
Populate that file with the command you wish to run, e.g. cfgutil list
When you ssh in, run open -a Terminal /tmp/cfgutil.sh


Here's a minimal example:
echo "/usr/local/bin/cfgutil list" &gt; /tmp/cfgutil.sh &amp;&amp; ssh localhost open -a Terminal "/tmp/cfgutil.sh"

I suspect it only works if the user is logged in via the UI as well.