Xcode svn + ssh custom port not working?

Thus, we used 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 that Xcode does not work very well with custom port numbers, because as soon as you change the port number to anything, even 22, you will get the following error message:

Error: 210002 (network connection is unexpectedly disconnected) Description: (null)

It seems that the error message appears as soon as something does not work, which is not very useful.

The port setup does the url like this:

svn+ssh://user@host:22/path

I tried connecting to ssh from the command line using:

ssh user@host:22

and received the following error message:

ssh: : 22: nodename servname

, , :

ssh user@host -p 22

.

, ssh user @host: 22 .

- , URL-, Xcode?

- , URL-, ssh, .

!

+3
2

, svn ssh, . .

:

ssh2222 = /usr/bin/ssh -p 2222

~/.subversion/config [].

URL-, :

svn+ssh2222//user@host/path

, , , , 2222.

+6

( , Subversion 1.6.17) $SVN_SSH :

[Tunnels]
ssh = $SVN_SSH ssh -p 2222
0

Source: https://habr.com/ru/post/1764663/


All Articles