简体   繁体   中英

git server refusing password or ssh-key

I currently have a git server I user at home set up for multi-user private repos like below

/opt/git
/opt/git/me/..all my projects here
/opt/git/someotheruser/...all his/her projects here

I have the git-shell in-place and now after a few months am trying to get access to my repo from a different box its not letting me do so I still am able to push and all that from my laptop but just can't get to use my new desktop to connect to the server. What do i need to do am using ubuntu and the latest git version.

Your new machine has a different SSH key. You need to upload the SSH public key from this new machine to git-shell so that git-shell can recognize you. (You can have as many SSH public keys as you need there.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM