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

Dont add to ssh-agent unless specified #27

Open
pecigonzalo opened this issue Jan 9, 2018 · 0 comments
Open

Dont add to ssh-agent unless specified #27

pecigonzalo opened this issue Jan 9, 2018 · 0 comments

Comments

@pecigonzalo
Copy link

I would suggest implementing a parameter that allows stopping bless from adding the Identity file to ssh-agent.
Namely this lines: https://github.com/lyft/python-blessclient/blob/master/blessclient/client.py#L594-L597

Given a config like:

Match exec "env | grep -q BLESS_COMPLETE || /Users/stype/blessclient/blessclient.run --gui --host '%h'"
	IdentityFile ~/.ssh/blessid

this is not required and could interfere with other credentials.

I think this is required when doing a wrapper around the ssh command but in that case its easy to toggle on in the script.

If this is accepted I can create a PR to cleanup/implement this.

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