FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add --confirm flag to require agent confirmation by kavix · Pull Request #1654 · smallstep/cli · GitHub

/ cli Public

Add --confirm flag to require agent confirmation - #1654

Open
kavix wants to merge 3 commits into
smallstep:masterfrom
kavix:master
Open

Add --confirm flag to require agent confirmation#1654
kavix wants to merge 3 commits into
smallstep:masterfrom
kavix:master

Conversation

kavix commented Jun 13, 2026
edited
Loading

Copy link
Copy Markdown

This PR adds a new --confirm flag to step ssh login, step ssh proxycommand, and step ssh certificate.
Solve #1611
When used, this flag adds the generated SSH certificate to the agent with the 'confirmation required' bit set, requiring user interaction (typically a prompt from the SSH agent) for every use of the key.

Changes:

  • Added WithConfirmBeforeUse AgentOption in internal/sshutil.
  • Updated Agent.AddCertificate to support the new option.
  • Added the --confirm flag to relevant SSH commands.
  • Added unit tests for the new option handling.

CLAassistant commented Jun 13, 2026
edited
Loading

Copy link
Copy Markdown


All committers have signed the CLA.

github-actions Bot added the needs triage Waiting for discussion / prioritization by team label Jun 13, 2026
hslatman changed the title feat(ssh): add --confirm flag to require agent confirmation Add --confirm flag to require agent confirmation Jun 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs triage Waiting for discussion / prioritization by team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL