Update SSH host
termix_hosts_update_ssh_hostReplace an existing SSH host configuration; retrieve the current host first to retain unchanged fields.
Instructions
Update SSH host. Updates an existing SSH host configuration. IMPORTANT: this replaces the host's configuration, it does not merge. Any field you omit is reset to its default - including username, password/key, and every enableX toggle. Call termix_hosts_get_ssh_host_id first and resend its fields alongside the ones you're changing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| ip | Yes | ||
| key | No | Private key contents (PEM). | |
| pin | No | ||
| name | No | Display name. Defaults to username@ip if omitted. | |
| port | Yes | ||
| tags | No | ||
| notes | No | ||
| domain | No | ||
| folder | No | ||
| keyType | No | ||
| authType | No | e.g. password, key, credential, vault, agent, keyboard-interactive, warpgate, opkssh. | |
| password | No | ||
| username | No | ||
| jumpHosts | No | Ordered list of jump host hop configs. | |
| useSocks5 | No | ||
| socks5Host | No | ||
| socks5Port | No | ||
| defaultPath | No | Default file manager path. | |
| keyPassword | No | Passphrase for an encrypted private key. | |
| credentialId | No | Use a saved credential instead of an inline password/key. | |
| enableDocker | No | ||
| enableTunnel | No | ||
| parentHostId | No | Nests this host under another. Mutually exclusive with folder. | |
| sudoPassword | No | ||
| enableProxmox | No | ||
| connectionType | No | ssh, rdp, vnc, or telnet. Defaults to "ssh". | |
| enableTerminal | No | ||
| socks5Password | No | ||
| socks5Username | No | ||
| vaultProfileId | No | Use a Vault SSH signing profile (authType "vault"). | |
| enableFileManager | No | ||
| enableTmuxMonitor | No | ||
| tunnelConnections | No | ||
| allowSessionSharing | No | ||
| showDockerInSidebar | No | ||
| showTunnelInSidebar | No | ||
| enableCommandHistory | No | ||
| enableTerminalToolbar | No | ||
| showTerminalInSidebar | No | ||
| forceKeyboardInteractive | No | ||
| showFileManagerInSidebar | No | ||
| showServerStatsInSidebar | No |