Skip to content

Conversation

@Jkhall81
Copy link
Contributor

SUMMARY

Inspect SSH_ASKPASS_PROMPT environment variable for reliable prompt type detection in SSH_ASKPASS script. OpenSSH sets this variable to indicate prompt types: 'confirm' for yes/no questions, 'none' for information only, and default/empty for password input. This provides more reliable detection than relying solely on regex patterns.

Fixes: #86319

Signed-off-by: Jason Hall jason.kei.hall@gmail.com

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

lib/ansible/cli/_ssh_askpass.py

@ansibot ansibot added feature This issue/PR relates to a feature request. needs_triage Needs a first human triage before being processed. has_issue needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Dec 17, 2025
@ansibot ansibot added the stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. label Dec 30, 2025
@webknjaz

This comment was marked as resolved.

@azure-pipelines

This comment was marked as resolved.

@webknjaz webknjaz requested review from mkrizek and sivel January 8, 2026 20:04
@ansibot ansibot removed stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Jan 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature This issue/PR relates to a feature request. has_issue needs_triage Needs a first human triage before being processed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inspect SSH_ASKPASS_PROMPT in SSH_ASKPASS script for reliability

3 participants