You are not logged in.
I am trying to use ssh to git clone a repository however despite my efforts I am continually blocked by the following error
$ git clone git..................
Cloning into '.................'...
<user>@git.edstem.org: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
I have Tried
I have read throught the wiki page for ssh and have not been able to rectify this. I have tried the following.
1. Ensuring I copied the public key correctly to edstem (where the repository is located)
2. eval ssh-agent
3. ssh-add and adding my private key location
- Upon running ssh-add -l the key was listed.
Possible issues:
1. I do not have a sshd.socket installed or enabled (I do have sshd.service) I do not know whether this exists as a different forum post said it had been removed in a newer version of openssh.
2. After running ssh -vT git.edstem.org the following line came after my public key was offered.
debug1: send_pubkey_test: no mutual signature algorithm
Cheers!
Last edited by dancer (2022-02-26 22:43:10)
Offline
debug1: send_pubkey_test: no mutual signature algorithm
Did you google that message?
You're using an insecure key algorithm (rsa256 ?) that got deprecated and removed.
The verbose/debug output should tell you a bit more about the offered key but the solution will be an updated key pair using a better algortihm.
Offline
Cheers this was the issue. Only had to change the key pair type.
Last edited by dancer (2022-02-26 22:42:29)
Offline