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] Use ssh forwarded agent connection to access target hosts #1952

Open
mcgru opened this issue Apr 18, 2024 · 1 comment
Open

Comments

@mcgru
Copy link

mcgru commented Apr 18, 2024

Is it possible to implement use of ssh-agent-forwarding to access target hosts?
As far as i know, we may use ssh user@semaphore-host -A option.
With '-A' option the special socket will be created on semaphore-host (somewhere) - that allow to go target host from shell and authenticate there using home ssh private key (auth agent).
The semaphore (if allowed by the configurable option) could use that agent-connection to try to authorize access to the target host, if there are any of such sockets.

If implemented, there could be a case:

  1. no private keys put into semaphore
  2. when need to run a playbook (that runs on remote hosts) - just connect via ssh -A to the semaphore and access will be granted.
@mcgru
Copy link
Author

mcgru commented Apr 18, 2024

Probably duplicate for #1751

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

1 participant