#1036264 Key usage prompt doesn't show up on X

Package:
openssh-client
Source:
openssh-client
Description:
secure shell (SSH) client, for secure access to remote machines
Submitter:
Jörg Sommer
Date:
2023-05-18 08:00:03 UTC
Severity:
normal
#1036264#5
Date:
2023-05-18 07:40:21 UTC
From:
To:
Hi,

when I add a key with `ssh-add -c id_rsa` to the agent, it doesn't prompt me
on usage of key but rejects it. I had to set the environment variable in the
systemd service. This affects X and Wayland/Gnome.

```ini
[Service]
Environment=DISPLAY=:0
```

Regards Jörg