Skip to content

xops host add

Command usage and available options are listed below. Check --help for options supported by your installed version.

text
Add one node. By default, verify SSH authentication before saving; if verification fails, report the failure and ask whether to save anyway (default: no). Use --skip-verify to save without verification.

Usage:
  xops host add [flags]

Flags:
  -H, --address string    Host IP or domain
  -a, --alias strings     Node alias (comma separated)
  -h, --help              help for add
  -I, --identity string   Use a saved authentication template alias
  -j, --jump string       Jump host name
  -k, --key string        SSH private key path
  -w, --key-pass string   SSH private key passphrase
  -P, --password string   SSH password
  -p, --port uint16       SSH port (default 22)
      --skip-verify       Skip SSH verification and save directly
  -t, --tags strings      Node tags (comma separated)
  -u, --user string       SSH username

Global Flags:
      --color string       ANSI color output (auto=detect pipe/redirect, never=disable, always=force enable)
      --debug              Enable debug mode (equivalent to --log-level=debug)
      --lang string        Interface language (zh/en)
      --log-level string   Set internal diagnostic log level (debug, info, warn, error)

MIT License