grommunio-admin-connect(1)
π grommunio-admin-connect (manual page, section 1)
okay so real talk: grommunio-admin-connect is the glow-up of "i want to run CLI commands but, like, somewhere else." it lives in manual section 1, and it's about to be your new hyperfixation. π¦
β¨ Name β¨
grommunio-admin connect β connect to a remote CLI. that's it. that's the vibe. basically you're facetiming another server and telling it what to do. π
πΈ Synopsis πΈ
grommunio-admin connect [-c COMMAND] [--no-verify] [--redirect-fs
[--auto-save (local|remote|discard|print)]] [-v] [HOST [USER
[PASSWORD]]]
π Description π
so you connect to a remote server so you can invoke CLI commands on it. main character energy, honestly. π«Ά
but bestie, there are prerequisites, and no we can't skip them:
- you need a running admin API with active remote CLI π
- and a user that has
SystemAdminPermissionβ no permission, no party
β οΈ important heads-up: the remote CLI currently uses a REST interface, and a REST interface does not provide a standard input. so any command that relies on user interaction? literally useless. it's giving "talking to a wall." π don't fight it, just don't write those commands.
π Options π
HOSTβ the host you're connecting to, in the formatprotocol://hostname:port, where protocol is eitherhttporhttps. if you leave it out, the protocol gets auto-detected, andhttpstakes precedence overhttp(as it should, queen behavior). no port specified? defaults kick in:8080forhttpand8443forhttps. hostname can be a resolvable host name, an IPv4 address, or an IPv6 address in brackets. default hostname islocalhost. πPASSWORDβ the password for authentication. default is to prompt you for it. πUSERβ the user for authentication. default isadmin. π--auto-save ACTIONβ picks the automatic action for received files when filesystem redirection is enabled. the possible actions are, and i quote the lineup:discardβ discard any received file πlocalβ save at local path πΎprintβ print file contents to stdout and discard π¨οΈremoteβ save at path reported from remote server π
-c,--commandβ execute the command on the remote server and exit, instead of starting an interactive shell. one and done, no small talk. β‘--no-verifyβ keep going withhttpseven if the TLS certificate presented by the server is invalid. required if the server uses a self-signed certificate that is not installed on the system. use with caution, bestie, i'm serious. π¨-p,--passwordβ prompt for the password even when connecting to localhost. sometimes you just want to be asked, y'know? π--redirect-fsβ redirect CLI initiated file operations to the local filesystem. see the Filesystem Emulation section for the details, i got you. π-v,--verboseβ print more detailed information about the connection process. perfect for when you need to know everything that's happening. π
π§ Filesystem Emulation π§
when the --redirect-fs option is given, CLI initiated file operations get performed in an emulated filesystem, and written files get sent back to the client. it's giving "pretend filesystem, real results." β¨
π but note: this only applies to files which are opened by CLI operations. module-level operations (e.g. loading of configurations) are unaffected β they don't play by these rules.
files received from the remote server can then be viewed or saved locally. your call, main character. π«Ά
β See Also β
and that's the whole page, bestie π this was grommunio-admin-connect(1), manual section 1 β go forth, connect remotely, and slay responsibly. ππ¦πΈ
π¦ where this page comes from
- alpine 3.24: grommunio-admin-api-doc 1.18-r0 Β· AGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms