bpg / terraform-provider-proxmox

Terraform Provider for Proxmox
https://registry.terraform.io/providers/bpg/proxmox
Mozilla Public License 2.0
613 stars 108 forks source link

feat(provider): add support for `ssh-agent` on Windows #1270

Closed Sparta142 closed 3 weeks ago

Sparta142 commented 3 weeks ago

Contributor's Note

Proof of Work

Community Note

Closes #1257

Sparta142 commented 3 weeks ago

One concern I had: ssh-agent on Windows doesn't set the SSH_AUTH_SOCK env, which might be surprising behavior to some users.

A couple of possible solutions: either add a fallback to \\.\pipe\openssh-ssh-agent on Windows like other SSH binaries do, or make a note of this in the docs. Any opinion?

Sparta142 commented 3 weeks ago

@bpg For consistency, I think assuming the socket path (if the user doesn't provide one) is the right behavior. I made a note of this in the documentation.

bpg commented 3 weeks ago

@all-contributors please add @Sparta142 for code

allcontributors[bot] commented 3 weeks ago

@bpg

I've put up a pull request to add @Sparta142! :tada: