Ssh new keypair - no error


#1

Hi

environment:

  • on-premises
  • Gogs Version: 0.11.53.0603
  • debian 8.9
  • gogs with ldap connection

Gogs works fine. Although when a user wants to delete an existing key and add a new one.
After that - whatever the user tries to clone/push/pull:

Cloning into '<repo>'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I found different topics about the ssh problem, but no solution!

Anything? :slight_smile: