Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.68 KB

upterm_config.md

File metadata and controls

56 lines (42 loc) · 1.68 KB

upterm config

Manage upterm configuration

Synopsis

Manage upterm's config file: YAML, with flags' names as its keys, e.g. hide-client-ip: true.

Config file: /home/user/.config/upterm/config.yaml

That is usually ~/.config/upterm/config.yaml on Linux, ~/Library/Application Support/upterm/config.yaml on macOS and %LOCALAPPDATA%\upterm\config.yaml on Windows, or $XDG_CONFIG_HOME/upterm/config.yaml when XDG_CONFIG_HOME is set.

A flag's value comes from the first of these that sets it:

  1. The command line
  2. An environment variable: UPTERM_ and the flag's name in capitals, with _ for -, e.g. UPTERM_HIDE_CLIENT_IP=true for --hide-client-ip
  3. The config file
  4. The flag's default

These flags take values only from the command line: host: --login-command, --allow-exec, --no-exec, --allow-sftp, --allow-forwarding, --no-forwarding, --full-access, --name, --detach, --output join: --wait session current: --output session info: --output session list: --output session set: --join-timeout session ssh-config: --alias version: --output Host's --join-timeout still reads env and config.

Options

  -h, --help   help for config

Options inherited from parent commands

      --debug   Enable debug logging (log file: /home/user/.local/state/upterm/upterm.log). A non-empty DEBUG turns it on too.

SEE ALSO

Auto generated by spf13/cobra on 2-Nov-2026