Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
rctneil
11 months agoSuper Contributor
Sourcetree SSH
Hi,
Never used Sourcetree before but just installed it to try it out. I'm connecting my GH account and when i choose SSH, it only gives me the option to create a new key. How can I get the key i...
rctneil
11 months agoSuper Contributor
This is driving me INSANE!!!!
What the heck is going on?
I've basically sat and researched this for the majority of the day and can't for the life of me figure out what's going on.
In Tower I try pushing or pulling from a remote repo and I get the error above. The repo's are mine and I have full access to them.
My key is correctly added to Github, it's in 1Password in my Private vault and also shows up when I run ssh-add -l
.
If I test in terminal ssh -T git@github.com
, this also works fine.
Sourcetree is also still not seeing the keys.
My SSH config file looks like:
Host *
IdentityAgent "~/Library/Group Containers/2BUA8C4S2C.com.1password/t/agent.sock"
and the 1Password config file looks like:
`# This is the 1Password SSH agent config file, which allows you to customize the
behavior of the SSH agent running on this machine.
You can use it to:
* Enable keys from other vaults than the Private vault
* Control the order in which keys are offered to SSH servers
EXAMPLE
By default, all keys in your Private vault(s) are enabled:
[[ssh-keys]]
vault = "Private"
You can enable more keys by adding more [[ssh-keys]]
entries.
For example, to first enable item "My SSH Key" from "My Custom Vault":
[[ssh-keys]]
item = "My SSH Key"
vault = "My Custom Vault"
[[ssh-keys]]
vault = "Private"
You can test the result by running:
SSH_AUTH_SOCK=~/Library/Group\ Containers/2BUA8C4S2C.com.1password/t/agent.sock ssh-add -l
More examples can be found here:
https://developer.1password.com/docs/ssh/agent/config
[[ssh-keys]]
vault = "Private"`
Please can someone help?!!! I'm desperate here!