by jabr · 11mo ago · 0 comments
current_context: default
contexts:
default:
connections:
- ssh: admin@192.168.0.10
ssh_key_file: ~/.ssh/uncloud
- ssh: admin@192.168.0.11
ssh_key_file: ~/.ssh/uncloud
- ssh: administrator@93.x.x.x
ssh_key_file: ~/.ssh/uncloud
- ssh: sysadmin@65.x.x.x
ssh_key_file: ~/.ssh/uncloud
And you really just need one entry for typical use. The subsequent entries are only used if the previous node(s) are down.You can either specify one of the machine SSH target in the config.yaml or pass it directly to the 'uc' CLI command, e.g.
uc --connect user@host deploy