feat: add machine exec command#390
Conversation
|
This PR has been fully ai generated. I don't expect this to be merged but thought it may be useful |
|
Thanks! Code is cheap now. I would appreciate a discussions about your use cases and problems you want to solve with this. And security concerns. I'm really missing the |
|
I needed to run Doesnt uncloud use ssh for connecting to the machines? why not just run ssh root@machine? Maybe over the internal network? You could also alias to |
Wait, why are you deploying configs with git pull on the machines and not as part of your deployments, e.g. using https://uncloud.run/docs/concepts/configs? |
|
whaaa- might need new glasses |
It does, but you may not have your public ssh key on all machines (working in a team and only someone else has access to all machines), some machines may not be directly reachable, e.g. behind NAT in the office/home network when you're remote. You can have ssh access to only one machine in the cluster to work with it (uncloud config can have only one machine connection: https://uncloud.run/docs/cli-config-reference#connections). |
you can also bind-mount (from a container) the directory where you want to have your configs and just do the git pull from the container too |
|
Use cases from our side (running a handful of single-compose recipes on uncloud nodes), since you asked:
Security thoughts: scope it to the same auth as |

No description provided.