On Thu, Sep 25, 2025 at 8:39 AM Thierry CHARLES < [email protected]> wrote:
> Hi > > I've configured my SSH server to allow the client to pass a GUAC_USER > environment variable. When I > test from the command line, my environment variable is passed. > > ssh mylogin@myserver "echo \"Variable is set to : \$GUAC_USER\"" > Variable is set to : > > GUAC_USER="XXXX" ssh -o SendEnv=GUAC_USER mylogin@myserver "echo > \"Variable is set to : \$GUAC_USER\"" > Variable is set to : XXXX > > > However, I can't find a way to pass this environment variable from > guacamole. > > Have any of you ever managed to do this? > > I do not believe there is currently a way to pass arbitrary environment variables over the SSH connection. Guacamole uses some discrete ones for things like Timezone forwarding, but does not currently allow for specifying and passing through custom variables. -Nick
