...
Install the x11-ssh-askpass package for your distribution
Expand title Fedora/RHEL Code Block # dnf install x11-ssh-askpass
Expand title Ubuntu/Debian Code Block # apt install ssh-askpass
Locate where the x11-ssh-askpass binary is installed.
Expand title Fedora/RHEL Code Block /usr/libexec/openssh/x11-ssh-askpass
Expand title Ubuntu Code Block /usr/lib/ssh/x11-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 Code Block export SSH_ASKPASS=/usr/libexec/openssh/x11-ssh-askpass export SSH_ASKPASS_REQUIRE=force
Expand title Bash on Ubuntu Code Block export SSH_ASKPASS=/usr/lib/ssh/x11-ssh-askpass export SSH_ASKPASS_REQUIRE=force
...