Manual deployment, multiple SSH keys issue/problem
following this guide from cpanel to setup a private repo for the manual method worked once, trying to setup more custom SSH keys with different namings doesn't work cpanel only checks for rsa_id naming and uses that and if not it will grant a permission denied.
using ssh git@github.com -i .ssh/customkey does grant access but this is from within the terminal and not when i try to clone a new private repository which already has a newly named Custom SSH key authorized and added in their repository. instead it will grant me the 128 ERROR code Repository not found check for rights.
but when checking the connection i saw this
-
Hey there! So the issue here is for the default key name we are looking for, correct? Everything is working well, but we're only checking for rsa_id by default when you do your testing - is that correct? 0 -
No the issue is, if more than 1 project would be active using github i'd need to hand out unique and different SSH keys. So far i can only get the default (first) key to work. If i create a new key following the steps but rename the key. so in the terminal: ssh-keygen -t rsa -C "user@domain" followed by a no passphrase and when it asks where to store, because that's how i rename it by giving it a different name as it stores otherwise it will ask to override already existing rsa_id key and that's not making a new second key 0 -
Thanks for the additional details. I spoke with the developers about this and currently only one key is supported at this time. To see that behavior changed I would recommend submitting a feature request using the link in my signature below, as those all get reviewed by the developers, but I currently don't have a way to work around that behavior. 0 -
what about with that issue guys? i have the same problem.. multi repository private with different ssh_keys and each one of that repo sync at subdomain! 0 -
I don't see that there was a feature request submitted to go with this. Feel free to submit one using the link in my signature, @giorgosstab 0 -
yea ok.. but with the question of @suto what happen? its cpanel problem or miss configuration of user? i have the same issue..how can i solve it? 0 -
At this time, only one key is supported. I'm not sure if that user came up with another workaround. 0 -
Not sure if a feature request - so I just submitted one. I am also suffering from this limitation - I manage multiple websites and need secure access to multiple private repos in Github. The feature request title is: "Ability to generate multiple SSH Keys - necessary to manage multiple Github repositories." 0 -
@dhoegl - I did see that feature request come in and it has been approved. 0 -
Good morning, friend, has there been a solution to this problem, the same thing is happening to me, it can be done at last or it is not possible. Thank you. 0 -
@HighTechPOS - we haven't implemented that request just yet, so at this time it is still not possible. 0
Please sign in to leave a comment.
Comments
11 comments