Skip to content

remove the private key first if we already have a cert loaded prior to a...#4

Merged
bobveznat merged 1 commit into
cloudtools:masterfrom
synfinatic:remove-cert-b4-add
Apr 15, 2014
Merged

remove the private key first if we already have a cert loaded prior to a...#4
bobveznat merged 1 commit into
cloudtools:masterfrom
synfinatic:remove-cert-b4-add

Conversation

@synfinatic

Copy link
Copy Markdown

If an expired signed cert is already loaded then when we try loading it will silently fail. So let's remove it first.

bobveznat added a commit that referenced this pull request Apr 15, 2014
Remove private key from ssh-agent before re-adding

Works around a bug, at least in openssh on os x 10.9.2, where re-adding a private key that has a new cert puts the agent into a weird state where there are many certs loaded for a single key. In that case none of the certs work.
@bobveznat bobveznat merged commit 0ca5da8 into cloudtools:master Apr 15, 2014
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

Successfully merging this pull request may close these issues.

2 participants