Scroll to navigation

WAYPROMPT-SSH-ASKPASS(1) General Commands Manual WAYPROMPT-SSH-ASKPASS(1)

NAME

wayprompt-ssh-askpass - Wayland-native ssh-askpass implementation

SYNOPSIS

wayprompt-ssh-askpass

DESCRIPTION

The wayprompt-ssh-askpass executable described in this manual page represents the ssh-askpass implementation based on wayprompt. For general information on wayprompt, read wayprompt(1).

USE WITH SSH

To use wayprompt-ssh-askpass as the askpass program for ssh(1) as well as for programs that wrap it, like git(1) or rsync(1), you need to set and export the SSH_ASKPASS env var to the path to the wayprompt-ssh-askpass executable.

By default, ssh will only use the configured askpass program if it is not attached to a terminal. To force ssh to always use the askpass program, set and export SSH_ASKPASS_REQUIRE=force.

RETURN VALUE

wayprompt-ssh-askpass will exit with one of the following commands.

Value Explanation
0 User triggered "ok" (either by pressing Enter or by clicking the button).
1 User triggered "cancel" (either by pressing Escape or by clicking the button) or an error occured.

AUTHOR

Leon Henrik Plickat

SEE ALSO

wayprompt(1), wayprompt(5), ssh(1),

2024-03-19 git.sr.ht/~leon_plickat/wayprompt