This has been a headache. Where to begin? So far, I've followed this article, along with its follow-up tutorial and my output when I try to do
svn+engine_ssh://[insert-elastic-ip-here]/var/svn/test
I get the following output:
Permission denied (publickey).
svn: To better debug SSH connection problems, remove the -q option from 'ssh' in the [tunnels] section of your Subversion configuration file.
svn: Network connection closed unexpectedly
My config file looks like the following in the tunnels section (on ec2 server):
[tunnels]
engine_ssh = /usr/bin/ssh -l username
I have the same listing in tunnels on my local machine, only using my local username as opposed to my remote username.
I'm guessing the issue is that I need to generate an ssh key and somehow set it up on my server? The issue is that ec2 the file used is called hosts.pem
as the IdentityFile
for my ssh config file.
Thus, what am I doing wrong here? What can I do? Are there alternatives to using SSH + svn for my server?
If anyone needs more info I'd be glad to post it.