简体   繁体   English

如何授予对Amazon EC2实例中托管的git存储库的访问权限?

[英]How to grant access to a git repository hosted in an amazon EC2 instance?

I have a repository hosted in an instance on amazon EC2 server, and I want to grant access to that repository to a client without supplying the instance identity file (.pem) . 我在Amazon EC2服务器上的实例中托管了一个存储库,并且我想在不提供实例标识文件(.pem)的情况下将访问该存储库的权限授予客户端。 What's the most secure solution to this issue? 最安全的解决方案是什么?

如果您可以安装Gitolite之类的产品 ,则可以为每个用户指定SSH密钥。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM