At the moment, you can run uc CLI only locally or on a control machine to control the remote cluster.
We can also install uc on every cluster machine and allow it to control the local cluster so a user can SSH into any machine and run uc commands there if they want to.
Technically, we can achieve this by automatically detecting if /run/uncloud/uncloud.sock is present on the machine when running uc. If the control socket is present and the uncloud config is not preset, try to connect to the cluster via the local unix socket. Essentially running uc as:
uc --connect unix:///run/uncloud/uncloud.sock ...
We also need to implement a unix socket cluster connector for this to work. Should look similar to the TCP one.