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

Feature request : allow unattented ssh connection until a command has finished #34

Open
euidzero opened this issue May 31, 2022 · 2 comments

Comments

@euidzero
Copy link

euidzero commented May 31, 2022

Trying to use onlykey-agent with ansible to manage multiple hosts in parallel or even serialy :
the agent requires pin chalenge for each host, thus making mass ssh impossible.

I suggess to add a feature to "unlock the ssh key" until a command has ended :

onlykey-agent identity@host --unlock-until-finished -- ansible-playbook play.yml
Enter the 3 digit challenge code on OnlyKey to authorize identity@host
..
ansible runs via  ssh on host1
ansible runs via  ssh on host2
...

basically this means having to enter the challenge once per command, not per host.

@euidzero euidzero changed the title Feature request : allow unattented ssh connection until a command is finished Feature request : allow unattented ssh connection until a command has finished May 31, 2022
@onlykey
Copy link

onlykey commented Jun 2, 2022

@euidzero You can disable the pin challenge and only require pressing button on device - https://docs.crp.to/onlykey-agent.html#setting-derived-key-user-input-mode

This is currently required for GnuPG as there isn't a way to display the challenge PIN

@euidzero
Copy link
Author

euidzero commented Jun 2, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants