Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install the x11-ssh-askpass package for your distribution

    Expand
    titleFedora/RHEL


    Code Block
    # dnf install openssh-askpass



    Expand
    titleUbuntu/Debian


    Code Block
    # apt install ssh-askpass-gnome



  2. Locate where the x11-ssh-askpass binary is installed.

    Expand
    titleFedora/RHEL


    Code Block
    /usr/libexec/openssh/ssh-askpass

    OR

    Code Block
    /usr/libexec/openssh/gnome-ssh-askpass



    Expand
    titleUbuntu


    Code Block
    /usr/lib/openssh/gnome-ssh-askpass



  3. Ensure your environment variable for SSH_ASKPASS and SSH_ASKPASS_REQUIRE is set correctly. You will want this to be configured on startup.

    Expand
    titleBash on Fedora/RHEL
    Code Block
    export SSH_ASKPASS=/usr/libexec/openssh/ssh-askpass
    export SSH_ASKPASS_REQUIRE=force
    OR


    Code Block
    export SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
    export SSH_ASKPASS_REQUIRE=force



    Expand
    titleBash on Ubuntu


    Code Block
    export SSH_ASKPASS=/usr/lib/openssh/gnome-ssh-askpass
    export SSH_ASKPASS_REQUIRE=force



...