2
使用SSH密钥从EC2服务器上的Bitbucket.org克隆Git
我们已经设置了EC2构建服务器,并希望使用SSH密钥来克隆存储库。 采取的步骤: cd ~/.ssh ssh-keygen -t rsa 创建的配置: host bitbucket.org HostName bitbucket.org IdentityFile ~/.ssh/bitbucket_rsa User git 在位存储桶上加载了公共ssh密钥: ssh-rsa ...密钥... ec2_user @ ip-censored 什么时候: git clone https://git@bitbucket.org/user/repo.git 它要求输入密码。我们应该检查或做些什么才能弄清楚问题出在哪里?