From 06c2bc55f2fbf20920613aac45c07952107160a0 Mon Sep 17 00:00:00 2001 From: Pasha Sviderski Date: Fri, 27 Mar 2026 20:27:36 +1000 Subject: [PATCH] feat: make connection method using system 'ssh' the default (add ssh+go:// fallback) --- cmd/uncloud/machine/add.go | 19 ++-- cmd/uncloud/machine/init.go | 19 ++-- cmd/uncloud/main.go | 17 ++- internal/cli/cli.go | 102 +++++++++--------- internal/cli/config/connection.go | 19 +++- internal/cli/config/connection_test.go | 40 ++++++- internal/cli/connect.go | 20 ++-- internal/cli/machine.go | 10 +- website/docs/9-cli-reference/uc.md | 2 +- website/docs/9-cli-reference/uc_build.md | 2 +- website/docs/9-cli-reference/uc_caddy.md | 2 +- .../docs/9-cli-reference/uc_caddy_config.md | 2 +- .../docs/9-cli-reference/uc_caddy_deploy.md | 2 +- website/docs/9-cli-reference/uc_ctx.md | 2 +- .../docs/9-cli-reference/uc_ctx_connection.md | 2 +- website/docs/9-cli-reference/uc_ctx_ls.md | 2 +- website/docs/9-cli-reference/uc_ctx_use.md | 2 +- website/docs/9-cli-reference/uc_deploy.md | 2 +- website/docs/9-cli-reference/uc_dns.md | 2 +- .../docs/9-cli-reference/uc_dns_release.md | 2 +- .../docs/9-cli-reference/uc_dns_reserve.md | 2 +- website/docs/9-cli-reference/uc_dns_show.md | 2 +- website/docs/9-cli-reference/uc_exec.md | 2 +- website/docs/9-cli-reference/uc_image.md | 2 +- website/docs/9-cli-reference/uc_image_ls.md | 2 +- website/docs/9-cli-reference/uc_image_push.md | 2 +- website/docs/9-cli-reference/uc_images.md | 2 +- website/docs/9-cli-reference/uc_inspect.md | 2 +- website/docs/9-cli-reference/uc_logs.md | 2 +- website/docs/9-cli-reference/uc_ls.md | 2 +- website/docs/9-cli-reference/uc_machine.md | 2 +- .../docs/9-cli-reference/uc_machine_add.md | 6 +- .../docs/9-cli-reference/uc_machine_init.md | 6 +- website/docs/9-cli-reference/uc_machine_ls.md | 2 +- .../docs/9-cli-reference/uc_machine_rename.md | 2 +- website/docs/9-cli-reference/uc_machine_rm.md | 2 +- .../docs/9-cli-reference/uc_machine_update.md | 2 +- website/docs/9-cli-reference/uc_ps.md | 2 +- website/docs/9-cli-reference/uc_rm.md | 2 +- website/docs/9-cli-reference/uc_run.md | 2 +- website/docs/9-cli-reference/uc_scale.md | 2 +- website/docs/9-cli-reference/uc_service.md | 2 +- .../docs/9-cli-reference/uc_service_exec.md | 2 +- .../9-cli-reference/uc_service_inspect.md | 2 +- .../docs/9-cli-reference/uc_service_logs.md | 2 +- website/docs/9-cli-reference/uc_service_ls.md | 2 +- website/docs/9-cli-reference/uc_service_rm.md | 2 +- .../docs/9-cli-reference/uc_service_run.md | 2 +- .../docs/9-cli-reference/uc_service_scale.md | 2 +- .../docs/9-cli-reference/uc_service_start.md | 2 +- .../docs/9-cli-reference/uc_service_stop.md | 2 +- website/docs/9-cli-reference/uc_start.md | 2 +- website/docs/9-cli-reference/uc_stop.md | 2 +- website/docs/9-cli-reference/uc_volume.md | 2 +- .../docs/9-cli-reference/uc_volume_create.md | 2 +- .../docs/9-cli-reference/uc_volume_inspect.md | 2 +- website/docs/9-cli-reference/uc_volume_ls.md | 2 +- website/docs/9-cli-reference/uc_volume_rm.md | 2 +- website/docs/9-cli-reference/uc_wg.md | 2 +- website/docs/9-cli-reference/uc_wg_show.md | 2 +- 60 files changed, 206 insertions(+), 152 deletions(-) diff --git a/cmd/uncloud/machine/add.go b/cmd/uncloud/machine/add.go index b58f0e6b..64081010 100644 --- a/cmd/uncloud/machine/add.go +++ b/cmd/uncloud/machine/add.go @@ -40,17 +40,18 @@ func NewAddCommand() *cobra.Command { Long: `Add a new machine to an existing Uncloud cluster. Connection methods: - ssh://user@host - Use built-in SSH library (default, no prefix required) - ssh+cli://user@host - Use system SSH command (supports ProxyJump, SSH config)`, + [ssh://]user@host - Use system 'ssh' command with full SSH config support (default, no prefix required) + ssh+go://user@host - Use Go's built-in SSH library`, Args: cobra.ExactArgs(1), RunE: func(cmd *cobra.Command, args []string) error { cli.BindEnvToFlag(cmd, "yes", "UNCLOUD_AUTO_CONFIRM") uncli := cmd.Context().Value("cli").(*cli.CLI) - // Determine if SSH CLI needs to be used and strip scheme + // Determine connection mode and strip scheme. destination := args[0] - useSSHCLI := strings.HasPrefix(destination, "ssh+cli://") + useSSHGo := strings.HasPrefix(destination, "ssh+go://") + destination = strings.TrimPrefix(destination, "ssh+go://") destination = strings.TrimPrefix(destination, "ssh+cli://") destination = strings.TrimPrefix(destination, "ssh://") @@ -59,11 +60,11 @@ Connection methods: return fmt.Errorf("parse remote machine: %w", err) } remoteMachine := &cli.RemoteMachine{ - User: user, - Host: host, - Port: port, - KeyPath: opts.sshKey, - UseSSHCLI: useSSHCLI, + User: user, + Host: host, + Port: port, + KeyPath: opts.sshKey, + UseSSHGo: useSSHGo, } return add(cmd.Context(), uncli, remoteMachine, opts) diff --git a/cmd/uncloud/machine/init.go b/cmd/uncloud/machine/init.go index d97819e7..ba642db0 100644 --- a/cmd/uncloud/machine/init.go +++ b/cmd/uncloud/machine/init.go @@ -45,8 +45,8 @@ func NewInitCommand() *cobra.Command { This command creates a new context in your Uncloud config to manage the cluster. Connection methods: - ssh://user@host - Use built-in SSH library (default, no prefix required) - ssh+cli://user@host - Use system SSH command (supports ProxyJump, SSH config)`, + [ssh://]user@host - Use system 'ssh' command with full SSH config support (default, no prefix required) + ssh+go://user@host - Use Go's built-in SSH library`, Example: ` # Initialise a new cluster with default settings. uc machine init root@ @@ -68,9 +68,10 @@ Connection methods: var remoteMachine *cli.RemoteMachine if len(args) > 0 { - // Determine if SSH CLI is requested and strip scheme + // Determine connection mode and strip scheme. destination := args[0] - useSSHCLI := strings.HasPrefix(destination, "ssh+cli://") + useSSHGo := strings.HasPrefix(destination, "ssh+go://") + destination = strings.TrimPrefix(destination, "ssh+go://") destination = strings.TrimPrefix(destination, "ssh+cli://") destination = strings.TrimPrefix(destination, "ssh://") @@ -79,11 +80,11 @@ Connection methods: return fmt.Errorf("parse remote machine: %w", err) } remoteMachine = &cli.RemoteMachine{ - User: user, - Host: host, - Port: port, - KeyPath: opts.sshKey, - UseSSHCLI: useSSHCLI, + User: user, + Host: host, + Port: port, + KeyPath: opts.sshKey, + UseSSHGo: useSSHGo, } } diff --git a/cmd/uncloud/main.go b/cmd/uncloud/main.go index 777adc3c..19531810 100644 --- a/cmd/uncloud/main.go +++ b/cmd/uncloud/main.go @@ -47,23 +47,30 @@ func main() { var conn *config.MachineConnection if opts.connect != "" { if strings.HasPrefix(opts.connect, "tcp://") { - addrPort, err := netip.ParseAddrPort(opts.connect[len("tcp://"):]) + addrPort, err := netip.ParseAddrPort(strings.TrimPrefix(opts.connect, "tcp://")) if err != nil { return fmt.Errorf("parse TCP address: %w", err) } conn = &config.MachineConnection{ TCP: &addrPort, } - } else if strings.HasPrefix(opts.connect, "ssh+cli://") { - dest := opts.connect[len("ssh+cli://"):] + } else if strings.HasPrefix(opts.connect, "ssh+go://") { + dest := strings.TrimPrefix(opts.connect, "ssh+go://") conn = &config.MachineConnection{ - SSHCLI: config.SSHDestination(dest), + SSHGo: config.SSHDestination(dest), + } + } else if strings.HasPrefix(opts.connect, "ssh+cli://") { + // Backward-compatible alias for ssh://. + dest := strings.TrimPrefix(opts.connect, "ssh+cli://") + conn = &config.MachineConnection{ + SSH: config.SSHDestination(dest), } } else if strings.HasPrefix(opts.connect, "unix://") { conn = &config.MachineConnection{ Unix: opts.connect[len("unix://"):], } } else { + // Default: system ssh CLI command (no prefix or ssh:// prefix). dest := strings.TrimPrefix(opts.connect, "ssh://") conn = &config.MachineConnection{ SSH: config.SSHDestination(dest), @@ -83,7 +90,7 @@ func main() { cmd.PersistentFlags().StringVar(&opts.connect, "connect", "", "Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT]\n"+ - "Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock") + "Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock") cmd.PersistentFlags().StringVar(&opts.configPath, "uncloud-config", "~/.config/uncloud/config.yaml", "Path to the Uncloud configuration file. [$UNCLOUD_CONFIG]") _ = cmd.MarkPersistentFlagFilename("uncloud-config", "yaml", "yml") diff --git a/internal/cli/cli.go b/internal/cli/cli.go index e683e292..43e94f43 100644 --- a/internal/cli/cli.go +++ b/internal/cli/cli.go @@ -263,8 +263,8 @@ func (cli *CLI) initRemoteMachine(ctx context.Context, opts InitClusterOptions) SSHKeyFile: opts.RemoteMachine.KeyPath, MachineID: resp.Machine.Id, } - if opts.RemoteMachine.UseSSHCLI { - connCfg.SSHCLI = config.NewSSHDestination( + if opts.RemoteMachine.UseSSHGo { + connCfg.SSHGo = config.NewSSHDestination( opts.RemoteMachine.User, opts.RemoteMachine.Host, opts.RemoteMachine.Port, @@ -467,8 +467,8 @@ func (cli *CLI) AddMachine(ctx context.Context, opts AddMachineOptions) (*client SSHKeyFile: opts.RemoteMachine.KeyPath, MachineID: addResp.Machine.Id, } - if opts.RemoteMachine.UseSSHCLI { - connCfg.SSHCLI = config.NewSSHDestination( + if opts.RemoteMachine.UseSSHGo { + connCfg.SSHGo = config.NewSSHDestination( opts.RemoteMachine.User, opts.RemoteMachine.Host, opts.RemoteMachine.Port, @@ -498,73 +498,75 @@ func (cli *CLI) AddMachine(ctx context.Context, opts AddMachineOptions) (*client func provisionOrConnectRemoteMachine( ctx context.Context, remoteMachine *RemoteMachine, skipInstall bool, version string, ) (*client.Client, error) { - // Use SSH CLI - if remoteMachine.UseSSHCLI { - exec := sshexec.NewSSHCLIRemote( - remoteMachine.User, - remoteMachine.Host, - remoteMachine.Port, - remoteMachine.KeyPath, + // Use Go's built-in SSH library. + if remoteMachine.UseSSHGo { + sshClient, err := sshexec.Connect( + remoteMachine.User, remoteMachine.Host, remoteMachine.Port, remoteMachine.KeyPath, ) + // If the SSH connection using SSH agent fails and no key path is provided, try to use the default SSH key. + if err != nil && remoteMachine.KeyPath == "" { + remoteMachine.KeyPath = DefaultSSHKeyPath + sshClient, err = sshexec.Connect( + remoteMachine.User, remoteMachine.Host, remoteMachine.Port, remoteMachine.KeyPath, + ) + } + if err != nil { + return nil, fmt.Errorf( + "SSH login to remote machine %s: %w", + config.NewSSHDestination(remoteMachine.User, remoteMachine.Host, remoteMachine.Port), err, + ) + } if !skipInstall { - if err := provisionMachine(ctx, exec, version); err != nil { + // Provision the remote machine by installing the Uncloud daemon and dependencies over SSH. + exec := sshexec.NewRemote(sshClient) + if err = provisionMachine(ctx, exec, version); err != nil { return nil, fmt.Errorf("provision machine: %w", err) } } - sshConfig := &connector.SSHConnectorConfig{ - User: remoteMachine.User, - Host: remoteMachine.Host, - Port: remoteMachine.Port, - KeyPath: remoteMachine.KeyPath, + var machineClient *client.Client + if remoteMachine.User == "root" || skipInstall { + // Create a machine API client over the established SSH connection to the remote machine. + machineClient, err = client.New(ctx, connector.NewSSHConnectorFromClient(sshClient)) + } else { + // Since the user is not root, we need to establish a new SSH connection to make the user's addition + // to the uncloud group effective, thus allowing access to the Uncloud daemon Unix socket. + sshConfig := &connector.SSHConnectorConfig{ + User: remoteMachine.User, + Host: remoteMachine.Host, + Port: remoteMachine.Port, + KeyPath: remoteMachine.KeyPath, + } + machineClient, err = client.New(ctx, connector.NewSSHConnector(sshConfig)) } - machineClient, err := client.New(ctx, connector.NewSSHCLIConnector(sshConfig)) if err != nil { return nil, fmt.Errorf("connect to remote machine: %w", err) } return machineClient, nil } - // Use Go SSH - sshClient, err := sshexec.Connect(remoteMachine.User, remoteMachine.Host, remoteMachine.Port, remoteMachine.KeyPath) - // If the SSH connection using SSH agent fails and no key path is provided, try to use the default SSH key. - if err != nil && remoteMachine.KeyPath == "" { - remoteMachine.KeyPath = DefaultSSHKeyPath - sshClient, err = sshexec.Connect( - remoteMachine.User, remoteMachine.Host, remoteMachine.Port, remoteMachine.KeyPath, - ) - } - if err != nil { - return nil, fmt.Errorf( - "SSH login to remote machine %s: %w", - config.NewSSHDestination(remoteMachine.User, remoteMachine.Host, remoteMachine.Port), err, - ) - } + // Use the system 'ssh' command (default). + exec := sshexec.NewSSHCLIRemote( + remoteMachine.User, + remoteMachine.Host, + remoteMachine.Port, + remoteMachine.KeyPath, + ) if !skipInstall { - // Provision the remote machine by installing the Uncloud daemon and dependencies over SSH. - exec := sshexec.NewRemote(sshClient) - if err = provisionMachine(ctx, exec, version); err != nil { + if err := provisionMachine(ctx, exec, version); err != nil { return nil, fmt.Errorf("provision machine: %w", err) } } - var machineClient *client.Client - if remoteMachine.User == "root" || skipInstall { - // Create a machine API client over the established SSH connection to the remote machine. - machineClient, err = client.New(ctx, connector.NewSSHConnectorFromClient(sshClient)) - } else { - // Since the user is not root, we need to establish a new SSH connection to make the user's addition - // to the uncloud group effective, thus allowing access to the Uncloud daemon Unix socket. - sshConfig := &connector.SSHConnectorConfig{ - User: remoteMachine.User, - Host: remoteMachine.Host, - Port: remoteMachine.Port, - KeyPath: remoteMachine.KeyPath, - } - machineClient, err = client.New(ctx, connector.NewSSHConnector(sshConfig)) + sshConfig := &connector.SSHConnectorConfig{ + User: remoteMachine.User, + Host: remoteMachine.Host, + Port: remoteMachine.Port, + KeyPath: remoteMachine.KeyPath, } + machineClient, err := client.New(ctx, connector.NewSSHCLIConnector(sshConfig)) if err != nil { return nil, fmt.Errorf("connect to remote machine: %w", err) } diff --git a/internal/cli/config/connection.go b/internal/cli/config/connection.go index 176272be..4762be99 100644 --- a/internal/cli/config/connection.go +++ b/internal/cli/config/connection.go @@ -12,8 +12,12 @@ import ( ) type MachineConnection struct { - SSH SSHDestination `yaml:"ssh,omitempty"` - SSHCLI SSHDestination `yaml:"ssh_cli,omitempty"` + // SSH uses the system ssh CLI command to connect. This is the default SSH connection method. + SSH SSHDestination `yaml:"ssh,omitempty"` + // SSHCLI is a backward-compatible alias for SSH. + SSHCLI SSHDestination `yaml:"ssh_cli,omitempty"` + // SSHGo uses Go's built-in SSH library to connect. + SSHGo SSHDestination `yaml:"ssh_go,omitempty"` SSHKeyFile string `yaml:"ssh_key_file,omitempty"` // TCP is the address and port of the machine's API server. // The pointer is used to omit the field when not set. Otherwise, yaml marshalling includes an empty object. @@ -29,7 +33,9 @@ func (c *MachineConnection) String() string { if c.SSH != "" { return "ssh://" + string(c.SSH) } else if c.SSHCLI != "" { - return "ssh+cli://" + string(c.SSHCLI) + return "ssh://" + string(c.SSHCLI) + } else if c.SSHGo != "" { + return "ssh+go://" + string(c.SSHGo) } else if c.TCP != nil && c.TCP.IsValid() { return fmt.Sprintf("tcp://%s", c.TCP) } else if c.Unix != "" { @@ -46,6 +52,9 @@ func (c *MachineConnection) Validate() error { if c.SSHCLI != "" { setCount++ } + if c.SSHGo != "" { + setCount++ + } if c.TCP != nil && c.TCP.IsValid() { setCount++ } @@ -54,10 +63,10 @@ func (c *MachineConnection) Validate() error { } if setCount == 0 { - return errors.New("no connection method specified (ssh, ssh_cli, tcp, or unix required)") + return errors.New("no connection method specified (ssh, ssh_go, tcp, or unix required)") } if setCount > 1 { - return errors.New("only one connection method allowed per connection (ssh, ssh_cli, tcp, or unix)") + return errors.New("only one connection method allowed per connection (ssh, ssh_go, tcp, or unix)") } return nil diff --git a/internal/cli/config/connection_test.go b/internal/cli/config/connection_test.go index e28279d2..b0f7d933 100644 --- a/internal/cli/config/connection_test.go +++ b/internal/cli/config/connection_test.go @@ -30,18 +30,32 @@ func TestMachineConnection_String(t *testing.T) { want: "ssh://user@host.com:2222", }, { - name: "ssh_cli connection", + name: "ssh_cli connection (backward compat alias for ssh)", conn: MachineConnection{ SSHCLI: "user@host.com", }, - want: "ssh+cli://user@host.com", + want: "ssh://user@host.com", }, { - name: "ssh_cli connection with port", + name: "ssh_cli connection with port (backward compat alias for ssh)", conn: MachineConnection{ SSHCLI: "user@host.com:2222", }, - want: "ssh+cli://user@host.com:2222", + want: "ssh://user@host.com:2222", + }, + { + name: "ssh_go connection", + conn: MachineConnection{ + SSHGo: "user@host.com", + }, + want: "ssh+go://user@host.com", + }, + { + name: "ssh_go connection with port", + conn: MachineConnection{ + SSHGo: "user@host.com:2222", + }, + want: "ssh+go://user@host.com:2222", }, { name: "tcp connection", @@ -103,12 +117,19 @@ func TestMachineConnection_Validate(t *testing.T) { wantErr: false, }, { - name: "ssh_cli only - valid", + name: "ssh_cli only - valid (backward compat)", conn: MachineConnection{ SSHCLI: "user@host", }, wantErr: false, }, + { + name: "ssh_go only - valid", + conn: MachineConnection{ + SSHGo: "user@host", + }, + wantErr: false, + }, { name: "tcp only - valid", conn: MachineConnection{ @@ -141,6 +162,15 @@ func TestMachineConnection_Validate(t *testing.T) { wantErr: true, errMsg: "only one connection method allowed", }, + { + name: "ssh and ssh_go - error", + conn: MachineConnection{ + SSH: "user@host", + SSHGo: "user@host", + }, + wantErr: true, + errMsg: "only one connection method allowed", + }, { name: "ssh and unix - error", conn: MachineConnection{ diff --git a/internal/cli/connect.go b/internal/cli/connect.go index 87d4e707..117a1702 100644 --- a/internal/cli/connect.go +++ b/internal/cli/connect.go @@ -57,9 +57,9 @@ func connectClusterWithProgress(ctx context.Context, conn config.MachineConnecti } func connectCluster(ctx context.Context, conn config.MachineConnection) (*client.Client, error) { - // Determine which SSH type is configured + // Determine which SSH type is configured. var sshDest config.SSHDestination - var useSSHCLI bool + var useGoSSH bool // Validate connection configuration early to provide clear error messages. if err := conn.Validate(); err != nil { @@ -67,11 +67,15 @@ func connectCluster(ctx context.Context, conn config.MachineConnection) (*client } if conn.SSH != "" { + // SSH uses the system ssh CLI command (default). sshDest = conn.SSH - useSSHCLI = false } else if conn.SSHCLI != "" { + // SSHCLI is a backward-compatible alias for SSH. sshDest = conn.SSHCLI - useSSHCLI = true + } else if conn.SSHGo != "" { + // SSHGo uses Go's built-in SSH library. + sshDest = conn.SSHGo + useGoSSH = true } else if conn.TCP != nil && conn.TCP.IsValid() { return client.New(ctx, connector.NewTCPConnector(*conn.TCP)) } else if conn.Unix != "" { @@ -95,11 +99,11 @@ func connectCluster(ctx context.Context, conn config.MachineConnection) (*client KeyPath: keyPath, } - // Create appropriate connector based on type - if useSSHCLI { - return client.New(ctx, connector.NewSSHCLIConnector(sshConfig)) + // Create appropriate connector based on type. + if useGoSSH { + return client.New(ctx, connector.NewSSHConnector(sshConfig)) } - return client.New(ctx, connector.NewSSHConnector(sshConfig)) + return client.New(ctx, connector.NewSSHCLIConnector(sshConfig)) } // connectModel is a TUI model for connecting to a cluster with a progress spinner. diff --git a/internal/cli/machine.go b/internal/cli/machine.go index fe690304..816c0261 100644 --- a/internal/cli/machine.go +++ b/internal/cli/machine.go @@ -23,11 +23,11 @@ const ( ) type RemoteMachine struct { - User string - Host string - Port int - KeyPath string - UseSSHCLI bool // indicates ssh+cli:// should be used + User string + Host string + Port int + KeyPath string + UseSSHGo bool // Use Go's built-in SSH library instead of the system ssh CLI command. } func installCmd(user string, version string) string { diff --git a/website/docs/9-cli-reference/uc.md b/website/docs/9-cli-reference/uc.md index bc687f80..4226e265 100644 --- a/website/docs/9-cli-reference/uc.md +++ b/website/docs/9-cli-reference/uc.md @@ -6,7 +6,7 @@ A CLI tool for managing Uncloud resources such as machines, services, and volume ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] -h, --help help for uc --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") diff --git a/website/docs/9-cli-reference/uc_build.md b/website/docs/9-cli-reference/uc_build.md index 55890ae2..6273ca7c 100644 --- a/website/docs/9-cli-reference/uc_build.md +++ b/website/docs/9-cli-reference/uc_build.md @@ -58,7 +58,7 @@ uc build [FLAGS] [SERVICE...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_caddy.md b/website/docs/9-cli-reference/uc_caddy.md index 179b599e..70101ff5 100644 --- a/website/docs/9-cli-reference/uc_caddy.md +++ b/website/docs/9-cli-reference/uc_caddy.md @@ -12,7 +12,7 @@ Manage Caddy reverse proxy service. ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_caddy_config.md b/website/docs/9-cli-reference/uc_caddy_config.md index c320eb19..4a787675 100644 --- a/website/docs/9-cli-reference/uc_caddy_config.md +++ b/website/docs/9-cli-reference/uc_caddy_config.md @@ -22,7 +22,7 @@ uc caddy config [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_caddy_deploy.md b/website/docs/9-cli-reference/uc_caddy_deploy.md index 8ef859cb..f6c26edc 100644 --- a/website/docs/9-cli-reference/uc_caddy_deploy.md +++ b/website/docs/9-cli-reference/uc_caddy_deploy.md @@ -24,7 +24,7 @@ uc caddy deploy [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_ctx.md b/website/docs/9-cli-reference/uc_ctx.md index 2f7dfff8..41dadac0 100644 --- a/website/docs/9-cli-reference/uc_ctx.md +++ b/website/docs/9-cli-reference/uc_ctx.md @@ -16,7 +16,7 @@ uc ctx [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_ctx_connection.md b/website/docs/9-cli-reference/uc_ctx_connection.md index 970897ce..7b31deee 100644 --- a/website/docs/9-cli-reference/uc_ctx_connection.md +++ b/website/docs/9-cli-reference/uc_ctx_connection.md @@ -16,7 +16,7 @@ uc ctx connection [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_ctx_ls.md b/website/docs/9-cli-reference/uc_ctx_ls.md index 53c46b6f..63569dfe 100644 --- a/website/docs/9-cli-reference/uc_ctx_ls.md +++ b/website/docs/9-cli-reference/uc_ctx_ls.md @@ -16,7 +16,7 @@ uc ctx ls [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_ctx_use.md b/website/docs/9-cli-reference/uc_ctx_use.md index f97855ea..64ba8af7 100644 --- a/website/docs/9-cli-reference/uc_ctx_use.md +++ b/website/docs/9-cli-reference/uc_ctx_use.md @@ -20,7 +20,7 @@ uc ctx use [CONTEXT] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_deploy.md b/website/docs/9-cli-reference/uc_deploy.md index c2dbefae..36a1ed02 100644 --- a/website/docs/9-cli-reference/uc_deploy.md +++ b/website/docs/9-cli-reference/uc_deploy.md @@ -28,7 +28,7 @@ uc deploy [FLAGS] [SERVICE...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_dns.md b/website/docs/9-cli-reference/uc_dns.md index bdc3cede..1bbabf0c 100644 --- a/website/docs/9-cli-reference/uc_dns.md +++ b/website/docs/9-cli-reference/uc_dns.md @@ -17,7 +17,7 @@ DNS commands allow you to reserve or release a unique 'xxxxxx.uncld.dev' domain ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_dns_release.md b/website/docs/9-cli-reference/uc_dns_release.md index f7e2532f..455d0af0 100644 --- a/website/docs/9-cli-reference/uc_dns_release.md +++ b/website/docs/9-cli-reference/uc_dns_release.md @@ -16,7 +16,7 @@ uc dns release [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_dns_reserve.md b/website/docs/9-cli-reference/uc_dns_reserve.md index f7ade294..0f09e3f9 100644 --- a/website/docs/9-cli-reference/uc_dns_reserve.md +++ b/website/docs/9-cli-reference/uc_dns_reserve.md @@ -17,7 +17,7 @@ uc dns reserve [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_dns_show.md b/website/docs/9-cli-reference/uc_dns_show.md index 98645c6b..9a7eaaf3 100644 --- a/website/docs/9-cli-reference/uc_dns_show.md +++ b/website/docs/9-cli-reference/uc_dns_show.md @@ -16,7 +16,7 @@ uc dns show [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_exec.md b/website/docs/9-cli-reference/uc_exec.md index 530ccdd3..7930ae8a 100644 --- a/website/docs/9-cli-reference/uc_exec.md +++ b/website/docs/9-cli-reference/uc_exec.md @@ -45,7 +45,7 @@ uc exec [OPTIONS] SERVICE [COMMAND ARGS...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_image.md b/website/docs/9-cli-reference/uc_image.md index 09d581ca..0c121ff0 100644 --- a/website/docs/9-cli-reference/uc_image.md +++ b/website/docs/9-cli-reference/uc_image.md @@ -12,7 +12,7 @@ Manage images on machines in the cluster. ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_image_ls.md b/website/docs/9-cli-reference/uc_image_ls.md index 7c8978ff..701149d3 100644 --- a/website/docs/9-cli-reference/uc_image_ls.md +++ b/website/docs/9-cli-reference/uc_image_ls.md @@ -40,7 +40,7 @@ uc image ls [REPO:[TAG]] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_image_push.md b/website/docs/9-cli-reference/uc_image_push.md index 1f9bfd37..aa4532a7 100644 --- a/website/docs/9-cli-reference/uc_image_push.md +++ b/website/docs/9-cli-reference/uc_image_push.md @@ -40,7 +40,7 @@ uc image push IMAGE [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_images.md b/website/docs/9-cli-reference/uc_images.md index 3fa869f6..aaf173c3 100644 --- a/website/docs/9-cli-reference/uc_images.md +++ b/website/docs/9-cli-reference/uc_images.md @@ -40,7 +40,7 @@ uc images [IMAGE] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_inspect.md b/website/docs/9-cli-reference/uc_inspect.md index 8793e460..d5993171 100644 --- a/website/docs/9-cli-reference/uc_inspect.md +++ b/website/docs/9-cli-reference/uc_inspect.md @@ -16,7 +16,7 @@ uc inspect SERVICE [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_logs.md b/website/docs/9-cli-reference/uc_logs.md index c6340d38..8f1160b7 100644 --- a/website/docs/9-cli-reference/uc_logs.md +++ b/website/docs/9-cli-reference/uc_logs.md @@ -66,7 +66,7 @@ uc logs [SERVICE...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_ls.md b/website/docs/9-cli-reference/uc_ls.md index a3e914e7..6dc4f4d6 100644 --- a/website/docs/9-cli-reference/uc_ls.md +++ b/website/docs/9-cli-reference/uc_ls.md @@ -16,7 +16,7 @@ uc ls [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_machine.md b/website/docs/9-cli-reference/uc_machine.md index f1a4969f..70b08a05 100644 --- a/website/docs/9-cli-reference/uc_machine.md +++ b/website/docs/9-cli-reference/uc_machine.md @@ -12,7 +12,7 @@ Manage machines in the cluster. ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_machine_add.md b/website/docs/9-cli-reference/uc_machine_add.md index e4b707f7..88143395 100644 --- a/website/docs/9-cli-reference/uc_machine_add.md +++ b/website/docs/9-cli-reference/uc_machine_add.md @@ -7,8 +7,8 @@ Add a remote machine to a cluster. Add a new machine to an existing Uncloud cluster. Connection methods: - ssh://user@host - Use built-in SSH library (default, no prefix required) - ssh+cli://user@host - Use system SSH command (supports ProxyJump, SSH config) + [ssh://]user@host - Use system 'ssh' command with full SSH config support (default, no prefix required) + ssh+go://user@host - Use Go's built-in SSH library ``` uc machine add [USER@]HOST[:PORT] [flags] @@ -36,7 +36,7 @@ uc machine add [USER@]HOST[:PORT] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_machine_init.md b/website/docs/9-cli-reference/uc_machine_init.md index ddfcdddb..4bc715f1 100644 --- a/website/docs/9-cli-reference/uc_machine_init.md +++ b/website/docs/9-cli-reference/uc_machine_init.md @@ -8,8 +8,8 @@ Initialise a new cluster by setting up a remote machine as the first member. This command creates a new context in your Uncloud config to manage the cluster. Connection methods: - ssh://user@host - Use built-in SSH library (default, no prefix required) - ssh+cli://user@host - Use system SSH command (supports ProxyJump, SSH config) + [ssh://]user@host - Use system 'ssh' command with full SSH config support (default, no prefix required) + ssh+go://user@host - Use Go's built-in SSH library ``` uc machine init [schema://]USER@HOST[:PORT] [flags] @@ -58,7 +58,7 @@ uc machine init [schema://]USER@HOST[:PORT] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_machine_ls.md b/website/docs/9-cli-reference/uc_machine_ls.md index 1f5f190b..37ae0b18 100644 --- a/website/docs/9-cli-reference/uc_machine_ls.md +++ b/website/docs/9-cli-reference/uc_machine_ls.md @@ -16,7 +16,7 @@ uc machine ls [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_machine_rename.md b/website/docs/9-cli-reference/uc_machine_rename.md index e042ab59..b93bbd56 100644 --- a/website/docs/9-cli-reference/uc_machine_rename.md +++ b/website/docs/9-cli-reference/uc_machine_rename.md @@ -23,7 +23,7 @@ uc machine rename OLD_NAME NEW_NAME [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_machine_rm.md b/website/docs/9-cli-reference/uc_machine_rm.md index 43ddaafb..8833d33a 100644 --- a/website/docs/9-cli-reference/uc_machine_rm.md +++ b/website/docs/9-cli-reference/uc_machine_rm.md @@ -18,7 +18,7 @@ uc machine rm MACHINE [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_machine_update.md b/website/docs/9-cli-reference/uc_machine_update.md index 87b472ac..5a8aa26d 100644 --- a/website/docs/9-cli-reference/uc_machine_update.md +++ b/website/docs/9-cli-reference/uc_machine_update.md @@ -47,7 +47,7 @@ uc machine update MACHINE [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_ps.md b/website/docs/9-cli-reference/uc_ps.md index beeb7ace..95a0ffb8 100644 --- a/website/docs/9-cli-reference/uc_ps.md +++ b/website/docs/9-cli-reference/uc_ps.md @@ -24,7 +24,7 @@ uc ps [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_rm.md b/website/docs/9-cli-reference/uc_rm.md index a9b32370..b5521537 100644 --- a/website/docs/9-cli-reference/uc_rm.md +++ b/website/docs/9-cli-reference/uc_rm.md @@ -24,7 +24,7 @@ uc rm SERVICE [SERVICE...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_run.md b/website/docs/9-cli-reference/uc_run.md index 75b61abc..c37d2050 100644 --- a/website/docs/9-cli-reference/uc_run.md +++ b/website/docs/9-cli-reference/uc_run.md @@ -55,7 +55,7 @@ uc run IMAGE [COMMAND...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_scale.md b/website/docs/9-cli-reference/uc_scale.md index a48b346d..2f32248a 100644 --- a/website/docs/9-cli-reference/uc_scale.md +++ b/website/docs/9-cli-reference/uc_scale.md @@ -22,7 +22,7 @@ uc scale SERVICE REPLICAS [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service.md b/website/docs/9-cli-reference/uc_service.md index b3ec7af4..c3613d96 100644 --- a/website/docs/9-cli-reference/uc_service.md +++ b/website/docs/9-cli-reference/uc_service.md @@ -12,7 +12,7 @@ Manage services in the cluster. ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service_exec.md b/website/docs/9-cli-reference/uc_service_exec.md index 937cd8d1..a5f45912 100644 --- a/website/docs/9-cli-reference/uc_service_exec.md +++ b/website/docs/9-cli-reference/uc_service_exec.md @@ -45,7 +45,7 @@ uc service exec [OPTIONS] SERVICE [COMMAND ARGS...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service_inspect.md b/website/docs/9-cli-reference/uc_service_inspect.md index 9e4a6798..159e1164 100644 --- a/website/docs/9-cli-reference/uc_service_inspect.md +++ b/website/docs/9-cli-reference/uc_service_inspect.md @@ -16,7 +16,7 @@ uc service inspect SERVICE [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service_logs.md b/website/docs/9-cli-reference/uc_service_logs.md index 4af9a569..da2701e6 100644 --- a/website/docs/9-cli-reference/uc_service_logs.md +++ b/website/docs/9-cli-reference/uc_service_logs.md @@ -66,7 +66,7 @@ uc service logs [SERVICE...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service_ls.md b/website/docs/9-cli-reference/uc_service_ls.md index 4820d5c9..70b4a937 100644 --- a/website/docs/9-cli-reference/uc_service_ls.md +++ b/website/docs/9-cli-reference/uc_service_ls.md @@ -16,7 +16,7 @@ uc service ls [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service_rm.md b/website/docs/9-cli-reference/uc_service_rm.md index 05b1ca4b..796af508 100644 --- a/website/docs/9-cli-reference/uc_service_rm.md +++ b/website/docs/9-cli-reference/uc_service_rm.md @@ -24,7 +24,7 @@ uc service rm SERVICE [SERVICE...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service_run.md b/website/docs/9-cli-reference/uc_service_run.md index 5b39358e..f036c2e8 100644 --- a/website/docs/9-cli-reference/uc_service_run.md +++ b/website/docs/9-cli-reference/uc_service_run.md @@ -55,7 +55,7 @@ uc service run IMAGE [COMMAND...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service_scale.md b/website/docs/9-cli-reference/uc_service_scale.md index 32d1f791..62e67812 100644 --- a/website/docs/9-cli-reference/uc_service_scale.md +++ b/website/docs/9-cli-reference/uc_service_scale.md @@ -22,7 +22,7 @@ uc service scale SERVICE REPLICAS [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service_start.md b/website/docs/9-cli-reference/uc_service_start.md index c7d34dc7..e5528b1a 100644 --- a/website/docs/9-cli-reference/uc_service_start.md +++ b/website/docs/9-cli-reference/uc_service_start.md @@ -23,7 +23,7 @@ uc service start SERVICE [SERVICE...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_service_stop.md b/website/docs/9-cli-reference/uc_service_stop.md index 653b471e..9bc81f36 100644 --- a/website/docs/9-cli-reference/uc_service_stop.md +++ b/website/docs/9-cli-reference/uc_service_stop.md @@ -27,7 +27,7 @@ uc service stop SERVICE [SERVICE...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_start.md b/website/docs/9-cli-reference/uc_start.md index 03672840..7ab428f4 100644 --- a/website/docs/9-cli-reference/uc_start.md +++ b/website/docs/9-cli-reference/uc_start.md @@ -23,7 +23,7 @@ uc start SERVICE [SERVICE...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_stop.md b/website/docs/9-cli-reference/uc_stop.md index 5399200a..994b3591 100644 --- a/website/docs/9-cli-reference/uc_stop.md +++ b/website/docs/9-cli-reference/uc_stop.md @@ -27,7 +27,7 @@ uc stop SERVICE [SERVICE...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_volume.md b/website/docs/9-cli-reference/uc_volume.md index 62665c42..b741b694 100644 --- a/website/docs/9-cli-reference/uc_volume.md +++ b/website/docs/9-cli-reference/uc_volume.md @@ -12,7 +12,7 @@ Manage volumes in the cluster. ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_volume_create.md b/website/docs/9-cli-reference/uc_volume_create.md index f7370f8c..efea089f 100644 --- a/website/docs/9-cli-reference/uc_volume_create.md +++ b/website/docs/9-cli-reference/uc_volume_create.md @@ -20,7 +20,7 @@ uc volume create VOLUME_NAME [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_volume_inspect.md b/website/docs/9-cli-reference/uc_volume_inspect.md index de4c30b2..e6e97ea7 100644 --- a/website/docs/9-cli-reference/uc_volume_inspect.md +++ b/website/docs/9-cli-reference/uc_volume_inspect.md @@ -17,7 +17,7 @@ uc volume inspect VOLUME_NAME [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_volume_ls.md b/website/docs/9-cli-reference/uc_volume_ls.md index 98a1007d..a1123dc3 100644 --- a/website/docs/9-cli-reference/uc_volume_ls.md +++ b/website/docs/9-cli-reference/uc_volume_ls.md @@ -18,7 +18,7 @@ uc volume ls [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_volume_rm.md b/website/docs/9-cli-reference/uc_volume_rm.md index c5d81214..c8f6cdf9 100644 --- a/website/docs/9-cli-reference/uc_volume_rm.md +++ b/website/docs/9-cli-reference/uc_volume_rm.md @@ -24,7 +24,7 @@ uc volume rm VOLUME_NAME [VOLUME_NAME...] [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_wg.md b/website/docs/9-cli-reference/uc_wg.md index a514bcbb..e6ab1354 100644 --- a/website/docs/9-cli-reference/uc_wg.md +++ b/website/docs/9-cli-reference/uc_wg.md @@ -12,7 +12,7 @@ Inspect WireGuard network ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ``` diff --git a/website/docs/9-cli-reference/uc_wg_show.md b/website/docs/9-cli-reference/uc_wg_show.md index 8d1c33ca..dbac01d0 100644 --- a/website/docs/9-cli-reference/uc_wg_show.md +++ b/website/docs/9-cli-reference/uc_wg_show.md @@ -21,7 +21,7 @@ uc wg show [flags] ``` --connect string Connect to a remote cluster machine without using the Uncloud configuration file. [$UNCLOUD_CONNECT] - Format: [ssh://]user@host[:port], ssh+cli://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock + Format: [ssh://]user@host[:port], ssh+go://user@host[:port], tcp://host:port, or unix:///path/to/uncloud.sock -c, --context string Name of the cluster context to use (default is the current context). [$UNCLOUD_CONTEXT] --uncloud-config string Path to the Uncloud configuration file. [$UNCLOUD_CONFIG] (default "~/.config/uncloud/config.yaml") ```