[Bug 2026307] Re: ssh-askpass-gnome pops up for every sudo command
Lena Voytek
2026307 at bugs.launchpad.net
Fri Jul 7 15:39:44 UTC 2023
Thanks for the bug report. I tested this on my system and can confirm this is an issue in Jammy, Kinetic, Lunar, and Mantic. I found this issue noted on the gnome gitlab here too - https://gitlab.gnome.org/GNOME/seahorse/-/issues/352
Based on the comments in that issue I was able to come up with a workaround that fixes this bug by creating a desktop file for the program at ~/.local/share/applications/gnome-ssh-askpass.desktop and inserting the following:
[Desktop Entry]
Name=GNOME ssh-askpass
GenericName=ssh-askpass
Type=Application
Exec=/usr/lib/openssh/gnome-ssh-askpass
Terminal=false
** Bug watch added: gitlab.gnome.org/GNOME/seahorse/-/issues #352
https://gitlab.gnome.org/GNOME/seahorse/-/issues/352
** Also affects: openssh (Ubuntu Kinetic)
Importance: Undecided
Status: New
** Also affects: openssh (Ubuntu Lunar)
Importance: Undecided
Status: New
** Also affects: openssh (Ubuntu Jammy)
Importance: Undecided
Status: New
** Changed in: openssh (Ubuntu)
Status: New => Triaged
** Changed in: openssh (Ubuntu Jammy)
Status: New => Triaged
** Changed in: openssh (Ubuntu Kinetic)
Status: New => Triaged
** Changed in: openssh (Ubuntu Lunar)
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/2026307
Title:
ssh-askpass-gnome pops up for every sudo command
Status in openssh package in Ubuntu:
Triaged
Status in openssh source package in Jammy:
Triaged
Status in openssh source package in Kinetic:
Triaged
Status in openssh source package in Lunar:
Triaged
Bug description:
When running multiple commands like this:
SUDO_ASKPASS=/usr/lib/openssh/gnome-ssh-askpass sudo -A cp ./ez_bkup /usr/local/bin/
from my gtk4 app, the ssh-askpass-gnome dialog and the gnome
inhibitShortcutsDialog pops up. i click allow on the
inhibitShortcutsDialog, then enter my password, which is accepted,
then they both pop up again for each of these sudo commands my app
calls.
This happens in ubuntu 22.04-23.04 (completely updated) using gnome.
If i use xfce in the same ubuntu versions, the gnome dialog doesn't
pop up, of course, and ssh-askpass-gnome works properly (one entry and
then all commands executed without further prompting). Fedora 37 works
properly with gnome x11 or wayland, and xfce. Not sure if this is a
bug in ubuntu's ssh-askpass-gnome, gnome-shell, or both/something
else.
ubuntu 23.04 is using GNOME Shell 44.2 and ssh-askpass-gnome
1:9.0p1-1ubuntu8.2
fedora is using openssh-askpass-8.8p1-10.fc37 and GNOME Shell 43.6
thanks
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/2026307/+subscriptions
More information about the foundations-bugs
mailing list