The SSH protocol supports remote execution of specific commands (rather than the login shell). For example:
This support is missing from Guacamole's SSH. Within Guacamole, the SSH connection always goes to the default shell, and there is no way to override this with a specific command at the connection level. Such a configuration parameter should be added.