...
Install the x11-ssh-askpass package for your distribution
Expand title Fedora/RHEL Code Block # dnf install openssh-askpass
Expand title Ubuntu/Debian Code Block # apt install ssh-askpass-gnome
Locate where the x11-ssh-askpass binary is installed.
Expand title Fedora/RHEL Code Block /usr/libexec/openssh/ssh-askpass
OR
Code Block /usr/libexec/openssh/gnome-ssh-askpass
Expand title Ubuntu Code Block /usr/lib/openssh/gnome-ssh-askpass
Ensure your environment variable for SSH_ASKPASS and SSH_ASKPASS_REQUIRE is set correctly. You will want this to be configured on startup.
Expand title Bash on Fedora/RHEL
ORCode Block export SSH_ASKPASS=/usr/libexec/openssh/ssh-askpass export SSH_ASKPASS_REQUIRE=force
Code Block export SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass export SSH_ASKPASS_REQUIRE=force
Expand title Bash on Ubuntu Code Block export SSH_ASKPASS=/usr/lib/openssh/gnome-ssh-askpass export SSH_ASKPASS_REQUIRE=force
...