Multiple ssh key
In our current environment we have two different GitHub.com tennants (meaning two different accounts). That makes it not possible to use the same ssh key (provided by coder).
If we manually generate an ssh key then it coder-gitssh fails. Also from my understanding the option of regex wouldnt work since the url used by github is the same.
Any ideas?
9 Replies
<#1404450170216648798>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
why does that make it not possible to use the same SSH key? it should work, can you elaborate?
we have two github tennants, that translates to two accounts (two licences) towards github.com. Two accounts can't have the same ssh key.
@anubis I am surprised that you can't share the account between the two tenants
are they both on the root of github.com or do they have a subdomain?
They are both on github.com but are different enterprises and different accounts, billed twice. I know it sounds weird but has to be done that way due to some internal factors 🙁 ...
hmm, are you using Coder Enterprise/Premium?
No, we have the free version. But i was wondering, even in the paid version how would that work since the regex would be the same
How are you setting the regex? Which variable?
If it's the one in external authentication section then the free version only supports a single external authentication.