Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Repository access denied. Access via a deployment key is read-only.

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

An error occurred while submitting code locally to gitbucket:

Repository access denied. Access via a deployment key is read-only.

Fatal: Could not read from remote repository.

Please make sure you have the correct access rights

And the repository exists.

Principle Bitbucket has two places to set up SSH KEY

The key in the repository setting has only read permissions, and these users can only be accessed by owner merge code through pull request.

Key in user setting. Code can be submitted through ssh as long as the user has write permission in repository.

So the solution is

Delete the ssh key setting in the repository setting

Add ssh key to the user's setting

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report