Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH key confirmations during task runs #3342

Open
davidsandilands opened this issue Aug 20, 2024 · 0 comments
Open

SSH key confirmations during task runs #3342

davidsandilands opened this issue Aug 20, 2024 · 0 comments
Labels
Feature New features and improvements.

Comments

@davidsandilands
Copy link
Member

Raising case from discussion with @jay7x in community

Use Case

If your ssh key requires confirmation on every use and you have no ControlPersist in your ssh config you may see a lot of key usage confirmations during a simple task execution. I'd say it's not that obvious that Bolt does THAT many ssh connections.

Describe the Solution You Would Like

Test can use “ssh-add -c $key” to add a key to your ssh agent. This might require some dancing around ssh-agent to make it able to show a confirmation (ssh-askpass is required and also DISPLAY should be available for ssh agent on Linux)

Describe Alternatives You've Considered

ControlPersist in your ssh config

@davidsandilands davidsandilands added the Feature New features and improvements. label Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New features and improvements.
Projects
None yet
Development

No branches or pull requests

1 participant