I just reformatted my Mac and upgraded to Mavericks. Git no longer seems to be connected to the remote repository.
results in the error message
Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
I do not know how to check the access rights and re-establish the connection to the remote repositories. Can anyone help me out?
edited to clarify: after the fresh os install I migrated my documents over, I didn't do a time machine restore.
ssh-keygen -t rsa -C "firstname.lastname@example.org"
ssh -T email@example.com
This error may happen because you don't have a correct public key inside your home directory.
In order to check if this is the case, could you please see if you have the following file: ~/.ssh/id_rsa
This file is responsable for the Public Key on your connection and if you don't have that I suggest that you copy the old one that you had before the format.
There is a method for using the verbose of SSH, which might help us to get a more detailed information about the error:
$ ssh -vT firstname.lastname@example.org
Could you try to use this command and post the result?
I have that file. After reading something about it maybe having to do with the key, I did the following;
ssh-keygen -t rsa -C "email@example.com" pbcopy < ~/.ssh/id_rsa.pub
However it still doesn't work. When I tried that command you advised, I got:
computername:~ homedir$ ssh -vT OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec] [-D [bind_address:]port] [-e escape_char] [-F configfile] [-I pkcs11] [-i identity_file] [-L [bind_address:]port:host:hostport] [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port] [-R [bind_address:]port:host:hostport] [-S ctl_path] [-W host:port] [-w local_tun[:remote_tun]] [user@]hostname [command]
Sorry, I'm still not very good with git...
Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs