Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29255

My own git server (on EC2) git clone via ssh (permission denied) why?

$
0
0

I can connect from my pc to my EC2 git server using ssh ( i specified port 22 cause default port is onother):

$ ssh -p22 dev@xxxxxxxxxxxx.compute.amazonaws.com

this works fine, but when I try to clone I have som problems(again i specified port 22 cause default port is onother):

sudo git clone ssh://dev@xxxxxxxxxx.compute.amazonaws.com:22/home/dev/some/stuff.git

this is the output:

dev@xxxxxxxxxxxxxxxxxx.compute.amazonaws.com: Permission denied (publickey).

why????


Viewing all articles
Browse latest Browse all 29255

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>