Versions Compared

Key

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

...

  • Install the x11-ssh-askpass package for your distribution

    Expand
    titleFedora/RHEL


    Code Block
    # dnf install x11-ssh-askpass



    Expand
    titleUbuntu/Debian


    Code Block
    # apt install ssh-askpass



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

    Expand
    titleFedora/RHEL


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



    Expand
    titleUbuntu


    Code Block
    /usr/lib/ssh/x11-ssh-askpass



  • Ensure your environment variable for SSH_ASKPASS 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/x11-ssh-askpass
    export SSH_ASKPASS_REQUIRE=force



    Expand
    titleBash on Ubuntu


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



Usage

OpenSC + ssh-askpass

...