-
-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
#119 implements support for multiple connections in Uncloud config. uc tries each connection in the specified order until one succeeds.
current_context: default
contexts:
default:
connections:
- ssh: ubuntu@1.2.3.4
- ssh: root@5.6.7.8
- ssh: user@9.10.11.12
To prioritise a particular connection, a user can edit the config and put the connection on the first place.
An interactive uc command for choosing the first/default connection would be handy. For example, we can extend the uc ctx command. Use up/down arrows to choose the context. Then, before pressing enter, you can press 'c', and a nested selector appears that allows you to select the default connection for that context (which is optional).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request