---
name: "gnome-ssh-askpass"
section: "1"
platform: "linux"
package: "ssh-askpass-gnome"
version: "1:10.0p1-7+deb13u4"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/gnome-ssh-askpass"
---

# gnome-ssh-askpass(1)

prompts a user for a passphrase using GNOME

## NAME

**gnome-ssh-askpass** – prompts a user for a passphrase using GNOME

## SYNOPSIS

**gnome-ssh-askpass** \[*message* *...*\]

## DESCRIPTION

**gnome-ssh-askpass** is a GNOME-based passphrase dialog for use with OpenSSH. It is intended to be called by the [ssh-add(1)](/ssh-add/1.md) program and not invoked directly. It allows [ssh-add(1)](/ssh-add/1.md) to obtain a passphrase from a user, even if not connected to a terminal (assuming that an X display is available). This happens automatically in the case where [ssh-add(1)](/ssh-add/1.md) is invoked from one's *~/.xsession* or as one of the GNOME startup programs, for example.

In order to be called automatically by [ssh-add(1)](/ssh-add/1.md), the SSH\_ASKPASS environment variable should be set to point to the location of **gnome-ssh-askpass**, or **gnome-ssh-askpass** should be installed as */usr/bin/ssh-askpass*.

## ENVIRONMENT

The following environment variables are recognized:

- GNOME\_SSH\_ASKPASS\_BG\_COLOR

  Text area background color, specified as hexadecimal RGB or RRGGBB, optionally prefixed by “#” or “0x”.

- GNOME\_SSH\_ASKPASS\_FG\_COLOR

  Text area foreground color, specified as hexadecimal RGB or RRGGBB, optionally prefixed by “#” or “0x”.

- GNOME\_SSH\_ASKPASS\_GRAB\_POINTER

  If set, causes **gnome-ssh-askpass** to grab the mouse pointer before asking for a passphrase.

- GNOME\_SSH\_ASKPASS\_GRAB\_SERVER

  If set, causes **gnome-ssh-askpass** to grab the X server before asking for a passphrase.

- SSH\_ASKPASS\_PROMPT

  If set to confirm, show a yes-or-no prompt, defaulting to yes. If set to none, show a prompt with only a close button. Otherwise, show an OK-or-cancel prompt, defaulting to OK. This environment variable is typically set by [ssh-add(1)](/ssh-add/1.md), and should not normally be set manually.

Regardless of whether either GNOME\_SSH\_ASKPASS\_GRAB\_POINTER or GNOME\_SSH\_ASKPASS\_GRAB\_SERVER is set, **gnome-ssh-askpass** will grab the keyboard.
