我已将SSH密钥提供给GIT存储库的维护者。 必须添加我的密钥,因为我能够在本地克隆存储库。
现在我想在Github中看到我的提交列表,但我看不到它们甚至是存储库。 我在哪里可以找到这个并且是否可以允许您的SSH密钥但不能添加到Github中的repo中?
Ive given my SSH key to the maintainer of a GIT repository. My key must have been added as I was able to clone the repository locally.
Now I want to see a list of my commits in Github but I cant see them or even the repository. Where would I find this and is it possible to have your SSH key allowed but not be added to the repo in Github?
最满意答案
我假设存储库是私有的。 因此,如果您是所有者或访问权限,则唯一可访问权限是明确授予的。
在github上,您可以访问用户帐户(即,可以通过https访问)以及ssh密钥(例如,对于与帐户无关但仅与存储库关联的buildbots;这种方式,此ssh密钥只能访问此repo但没有其他的回购 - 如果这个ssh密钥被破坏,这可以有助于缓解安全问题)。
我想后一种情况就是你所处的情况。
I assume the repository is a private one. So its only accesible if you are the owner or acces is explicitely granted.
On github you can give access to user accounts (i.e., access via https possible) and also to ssh keys (e.g. for buildbots which are not associated to an account but only with a repository; this way this ssh key can only access this repo but no other repos - this can be useful to mitigate security issues if this ssh key gets compromised).
I suppose the latter case is the case you are in.
更多推荐
发布评论