Good morning,
Our DBA has setup our git respository and I'm now trying to connect to it from Source Tree. We have verified that our private/public key is working and the key is loaded into pageant. What I don't understand now is do I need to do anything else with the key if its loaded into pageant in the background?? Also I'm not sure what path to use exactly when I try to connect to the repo. I'm choosing 'clone/new' and then choosing 'clone repository' and trying to enter our path..do I need to front this with something like 'ssh://bangit.sis.utk.edu/banner/apps/application_name?? Is that the right action or should I be choosing to 'create new repository' on my local desktop?
I'm just diving headfirst into this and clearly I don't know what I'm doing. I'd be most happy if i could figure out how exactly to connect to our respository so i can see something from my desktop. Apparently I need step by step instructions so if those exist please point me in the right direction.
Thanks in advance for your help.
Stephanie Workman
Senior IT Analyst
University of Tennessee
Thanks Ramiro. Here is what I've been trying to work through...
1) DBA creates git respository on our VM and downloaded all the XE apps
2) I download Sourcetree onto my local desktop
3) Go to Sourcetree-->tools-->create or import key. It brings up putty key generator and I create/save private/public keys and send the public key to the DBA
4) Ensure that pageant is running with the key in the background and confirm via putty itself that I can access the repository
5) Select Clone repository and enter my ssh url hit tab
at this point it tries to validate/connect to the path with our 'banner' account. It does not seem to recognize the key so it pops up the login box with our 'banner' username filled in ..expecting a password. Which it doesn't have. I hit enter and it then next to 'repository type' it tells me 'this is not a valid source path/url'. The details say 'access denied'..
So as far as I can tell Sourcetree is not recognizing my key when it attempts to connect to our repository. I'm sure I'm doing something wrong somewhere I just don't know what.
Do I actually have to download the git client on my PC and create the keys using the git bash as you did??
Stephanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm not sure since I am new to git but you could give a try. If I understand correctly Sourcetree is the UI but the git client works in the background.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Stephanie, a few hours ago I went the same road as you. I'll describe what I did in case it helps you:
Did you do it like this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok a few more questions please:
1) under tools/options do I need to fill in the SSH Client configuration information?
2) Is there anything I need to do for pageant? It is currently running in the background with the key viewable.
3) Do I need to 'import' the key? Its supposed to know it from pageant right?
4) I have confirmed that my version of putty on my desktop connects to our bangit repository with the appropriate login acount without requiring authentication recognizing the keys
So..I've done all of these things above..obviously the account is not locked...yet I cannot get the 'clone' to connect without throwing access errors.
I'm at a loss...
Thank you for your patient in answering my questions.
Stephanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What are the errors? "Obviously the account is not locked" - Why is this obvious? The error you mentioned in an earlier answer makes it sounds like it has been automatically locked following too many authentication failures. Have you asked your DBA to help you debug the authentication issues? If he set up the repository, it ought to be his job to make sure it is properly configured for users to connect.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's not locked because i can go to putty and login just fine with it. Yes I asked our DBA to help. In their opinion this is a 'software setup' issue and hence not their problem...sigh. the error is 'access denied' too many authentication failuers for banner...'banner' is the account name its trying to connect as...i can connect as banner via putty just fine. Thanks :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Firewall blocking some ports but not others?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So when I'm trying to connect should I be choosing the 'clone' option? That's what i'm doing then i'm entering the source/URL similar too ssh://bangit.xxx.xxx.edu/banner/apps/banner_student_faculty_grade_entry_app.git and it is giving me an error regarding authentication..
..access denied..fatal error server sent disconnect message type 2(protocol error): too many authentication failures for banner' fatal : count not read from remote repository.
We confirmed yesterday via putty that our keys are working and we can access the git server that way.
Thanks,
Stephanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, first you need to clone the repository and then work in the folder where you cloned it. "too many authentication failures" sounds like your account is locked out, either temporarily or permanently. You really need to talk to the admin of the server...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Also, check out the Git Book. It was very helpful for me in getting oriented to Git, especially coming from an SVN background.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.