grommunio-admin connect — Connect to remote CLI
grommunio-admin connect [-c COMMAND] [–no-verify] [–redirect-fs [–auto-save (local|remote|discard|print)]] [-v] HOST [USER [PASSWORD]]
Note that the remote CLI currently uses a REST interface which does not provide a standard input, rendering commands that rely on user interaction useless.
Host to connect to, in the format protocol://hostname:port, where protocol is either http or https. If omitted, the protocol is auto-detected, with https taking precendence over http. If no port is specified, the default ports 8080 (http) and 8443 (https) are used.
Password to use for authentication. Default is to prompt.
User to use for authentication. Defaults is admin.
Choose automatic action for received files when filesystem redirection is enabled. Possible actions are:discard - discard any received filelocal - save at local pathprint - print file contents to stdout and discardremote - save at path reported from remote server
Execute command on remote server and exit instead of starting an interactive shell.
Continue with https even 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.
Redirect CLI initiated file operations to local filesystem. See section Filesystem Emulation for details.
Print more detailed information about the connection process.
When the –redirect-fs option is given, CLI initiated file operations are performed in an emulated filesystem and written files are sent back to the client.
Note that this does only apply to files which are opend by CLI operations, while module-level operations (e.g. loading of configurations) are unaffected.
Files received from the remote server can then be viewed or saved locally.