[solved] Give readaccess to server

#1

I want to fetch on production server from my gitea instance. But because I do not want to put my private ssh key onto the server and it should only have read access to the code I thought about creating an account “Production Server” which has only read access to the repository. Then the server could also get its own ssh key which is saved with this account.

I think its a solution, but a bit dirty, is there any way to just set a ssh key for a repository that can get specific read/write access? Without creating a full account?

0 Likes

#2

ok I discovered, that this can be achieved with deploy keys!

0 Likes

closed #3
0 Likes