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

maybe sshpass dependency can be replaced #115

Open
calestyo opened this issue Jun 25, 2023 · 0 comments
Open

maybe sshpass dependency can be replaced #115

calestyo opened this issue Jun 25, 2023 · 0 comments

Comments

@calestyo
Copy link

Hey.

This is just a heads up, that maybe the sshpass dependency can be replaced by native (OpenSSH) means, namely by setting SSH_ASKPASS_REQUIRE=force and SSH_ASKPASS=someProgram for the executed ssh client.

someProgram get's the passphrase query prompt as argv[1] and shall print the desired passphrase.

Other than sshpass this can be even used to support multiple passphrase queries (e.g. when hopping nodes).

Cheers,
Chris.

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