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

communicator/ssh: switch agent default to true #2408

Merged
merged 1 commit into from
Jun 22, 2015

Conversation

phinze
Copy link
Contributor

@phinze phinze commented Jun 19, 2015

This changes SSH Agent utilization from opt-in to opt-out, bringing
Terraform in line with the behavior of Packer and ssh itself.

@phinze phinze force-pushed the f-ssh-agent-default-true branch 3 times, most recently from ad7ebc7 to bab8227 Compare June 19, 2015 22:13
This changes SSH Agent utilization from opt-in to opt-out, bringing
Terraform in line with the behavior of Packer and the `ssh` command
itself.

But skip SSH agent connections if the SSH_AUTH_SOCK env var doesn't exist,
whcih means there's no agent to connect to.
@phinze phinze force-pushed the f-ssh-agent-default-true branch from bab8227 to 44de099 Compare June 19, 2015 22:14
@phinze
Copy link
Contributor Author

phinze commented Jun 22, 2015

@mitchellh ping for review. would like to land this before ssh bastion support

@mitchellh
Copy link
Contributor

LGTM

phinze added a commit that referenced this pull request Jun 22, 2015
communicator/ssh: switch agent default to true
@phinze phinze merged commit a224c13 into master Jun 22, 2015
@phinze phinze deleted the f-ssh-agent-default-true branch June 22, 2015 22:55
@ghost
Copy link

ghost commented May 2, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators May 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants