-
Notifications
You must be signed in to change notification settings - Fork 488
ssh transport based on ssh command line client #1166
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
Conversation
|
TLS connection URI works with this. Fixes #1155 |
|
@dmacvicar not yet, but I can test today. |
|
I will try to make some time this weekend. |
|
Nit: Terraform commands hang indefinitely if the host key check fails instead of exiting with an error: Otherwise, |
|
@jgooge should be fixed now. |
|
It is!! |
|
This fix seems to work for me as well. Is there anything apart from lint errors prevents merging this? Is there anything I could help with in this PR? |
|
ℹ️ ℹ️ ℹ️ ℹ️ ℹ️ ℹ️ This contribution is relevant to the legacy version of the provider, which is now in the v0.8 branch of this repository. Future development is based on a new provider, which is not compatible with this one, nor does share code. As the new provider solves many issues with the legacy, and to make development in my free time more enjoyable, I have decided to close all PRs for the legacy provider, and to ask to check if the contribution would apply to the new one. This also to encourage trying the new version. and check the documentation:
You are free to reopen the PR for v0.8, which is targetted now to the v0.8 branch. We may also start a discussion if we can assemble a team of maintainters for the legacy branch. My efforts will go into the new provider. I ask you to check the new provider and re-evaluate this contribution. 🙏 |
This implementation uses the ssh command line client and therefore respect user settings.
To enable it, you need to use the
use_ssh_cmd=1parameter. Example:qemu+ssh://user@localhost/system?no_verify=1&use_ssh_cmd=1.It supports the options of the upstream ssh transport.