# Does Community Edition support ssh\_elevate\_method?

**URL:** <https://forum.greenbone.net/t/does-community-edition-support-ssh-elevate-method/22083>\
**Category:** Building from Source and Advanced Topics\
**Created:** [February 4, 2026, 2:02am UTC](https://forum.greenbone.net/t/does-community-edition-support-ssh-elevate-method/22083 "2026-02-04T02:02:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fyrie](https://forum.greenbone.net/letter_avatar/fyrie/32/6_449c533f586939b6e5f246632a46421f.png) [@Fyrie](https://forum.greenbone.net/u/Fyrie)\
**Post date:** [February 4, 2026, 2:02am UTC](https://forum.greenbone.net/t/does-community-edition-support-ssh-elevate-method/22083/1 "2026-02-04T02:02:51Z")

</div>

Hello, I noticed when using GMP protocol and in the [TechDoc Portal](https://docs.greenbone.net/API/GMP/gmp-22.7.html#command_create_target), it is possible to add ssh elevate credential. I’ve seen threads where this feature was marked experimental and probably why it doesn’t show up in GSA. However I just wanted to confirm since it is partially possible.

But is it possible to set the escalation method? like su or sudo? how does it work currently by default?

I tried manually modifying the target like

```bash
<ssh_elevate_method>sudo</ssh_elevate_method>

```

but I do not think it works.

Using Greenbone Community Edition Containers

---

<div class="post-metadata">

**Author:** ![JosephL](https://forum.greenbone.net/user_avatar/forum.greenbone.net/josephl/32/2877_2.png) [@JosephL](https://forum.greenbone.net/u/JosephL)\
**Post date:** [February 4, 2026, 2:22pm UTC](https://forum.greenbone.net/t/does-community-edition-support-ssh-elevate-method/22083/3 "2026-02-04T14:22:38Z")

</div>

From the [GMP docs for create\_target](https://docs.greenbone.net/API/GMP/gmp-22.7.html#command_create_target), the tag is named `<ssh_elevate_credential>` not `<ssh_elevate_method>`. It represents a second credential to use to elevate privileges or switch user context after the initial SSH login. Therefore, it should have an `id` attribute with the value (str | UUID | None) – UUID of a ssh credential to use on target.

It is not a command method such as `su` or `sudo`. I’m not aware of a `<ssh_elevate_method>` function. The process is explained here in the [OPENVAS SCAN docs](https://docs.greenbone.net/GSM-Manual/gos-22.04/en/scanning.html?utm_source=chatgpt.com#requirements-and-background-information-for-the-elevate-privileges-feature).

---

<div class="post-metadata">

**Author:** ![system](https://forum.greenbone.net/uploads/default/original/2X/4/4660e797edfaea797a8c9965246072ea26732804.png) [@system](https://forum.greenbone.net/u/system)\
**Post date:** [May 5, 2026, 2:03am UTC](https://forum.greenbone.net/t/does-community-edition-support-ssh-elevate-method/22083/4 "2026-05-05T02:03:13Z")

</div>

Closed on May 5, 2026, 2:03am UTC

This topic was automatically closed after 90 days. New replies are no longer allowed.
