You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
Sorry to trouble you - this may be a stupid question or obvious, but I just want to be sure.
I want to help get someone else setup with some repos in advance (amongst other things, local env vars, checking etc).
And I wonder if you could confirm that the following process would work
I use bitbucket ssh authentication
so on their pc
add my own ssh private key file to the file system
login to bitbucket in the browser
call the clone commands
use my passphrase to access
check all is working
logout of bitbucket in browser
delete my private key
later get other person setup on bitbucket
set on bitbucket their public ssh
add their ssh private key to their file system
they login to bitbucket in browser
from here presumably they can...
with the repos setup
pull, push, etc etc from their pc
Or have I missed something?
Is there an issue of me accessing from a differnt machine / ip?
Hey @Andrew Hardy
G'Day!
While you may remove your ssh key from the user machine, you may have left the local git config of the clone repo un-touch which still points to your username and ssh key.
This causes the git to look for your ssh key and username when the user tries to do any git activity because the local git config still points to your config.
You can use the following commands to check user local git config:
git config --list
Additionally, if you wish to further troubleshoot the issue you can use the following commands to check if it's using the correct ssh key or username:
GIT_TRACE_PACKET=1 GIT_TRACE=1 GIT_SSH_COMMAND="ssh -vvv" <git command>
I hope this helps
Cheers,
Syahrul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.