amazon web services - EC2: Git clone without GitHub -


i have set of repos wanted move ec2. cloned them bare repositories , put them onto ebs volume mounted ec2 instance. set remote (points ssh:publicdnsname/gitrepo) , attempted perform clone local machine - find got

permission denied (publickey). fatal: not read remote repository.  please make sure have correct access rights , repository exists. 

i trying figure best way host series of git repos on ebs volume allows access 10 or team members pulls, merges, etc.

any suggestions simple way handle problem?

sorry figured out problem.

i did not have user on host machine , therefore trying pull user didn't exist. (i trying ssh://ubuntu@machine/example/git.git)

doing simple

ssh-add mykey.pem git clone ssh://ubuntu@machine... .. 

this worked.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -