So we used to use port 22 for our svn repository, but port 22 was recently closed by the firewall administrator, which forced us to use a different port.
Anyway, it seems like Xcode doesn't play very well with custom port numbers, because as soon as you change the port number to anything, even 22, you get the following error message:
Error: 210002 (Network connection closed unexpectedly) Description: (null)
That seems to be the error message you get as soon as something isn't working, which isn't very helpful.
Setting the port makes the URL look like this:
svn+ssh//user@host:22/path
I tried connecting to ssh from the command line using:
shh user@host:22
and got the following error message:
ssh: Could not resolve hostname host:22: nodename nor servname provided, or not known
However, if I connect using:
shh user@host -p 22
It works.
This makes me believe that ssh doesn't parse user@host:22 correctly.
Does anyone know how I can change the URL to make it work in Xcode?
If anyone knows how to change the url to make it work with ssh, that could be helpful too.
Thanks!