I am trying to mirror an SVN repository to an EC2 instance using the command
svnsync init svn+ssh://ec2-user@[IP of EC2 instance]/[mirror repo location] file://[local repo location]
but am getting the following error
svnsync: E170013: Unable to connect to a repository at URL 'svn+ssh://ec2-user@[IP of EC2 instance]/[mirror repo location]
I have loaded the .pem private key file using ssh-add, but I don't think it is being used to grant access to the repo on the EC2 instance.