I just set up Github
and generated my ssh keys
. I need to give my public rsa
to somebody so they can allow me access to their git repo. Do I send them
a) my entire .pub
file,
b) the contents of the .pub
file, or
c) the key that i see if i log in to Github
and go to ssh keys(looks like: id_rsa (22:ac:74:6b:a7:d9:14:a5:32:8f:08:c5:51:1b:49:lk
)
Send the contents of id_rsa.pub or the file id_rsa.pub itself. Either way. (Also: Remember never to send your private key.)
If they know your username, they can get your public key already. See What is the public URL for the Github public keys.
This could also be handled by them adding you as a collaborator via the repo settings at https://github.com/username/repo/settings/collaboration
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With