python-blessclient icon indicating copy to clipboard operation
python-blessclient copied to clipboard

Dont add to ssh-agent unless specified

Open pecigonzalo opened this issue 7 years ago • 0 comments

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.

pecigonzalo avatar Jan 09 '18 17:01 pecigonzalo