2903: Add non-standard port support for SSH+SVN

marcin.********@gmai***** (Google Code) (Is this you? Claim this profile.)
Feb. 19, 2013
2841
What version are you running?
1.7.5

What's the URL of the page this enhancement relates to, if any?
/admin/db/scmtools/repository/add/

Describe the enhancement and the motivation for it.

Trying to access a remote repository using SVN+SSH protocol, but it doesn't seem "hostname:PORT" syntax is handled right.

I looked at rbssh.py, and "port" does not seem to be used anywhere there

What operating system are you using? What browser?


Please provide any additional information below.
#1 raja****@gmai***** (Google Code) (Is this you? Claim this profile.)
There is a patch currently in review for this at reviews.reviewboard.org. 
http://reviews.reviewboard.org/r/3712/
#2 marcin.********@gmai***** (Google Code) (Is this you? Claim this profile.)
Thanks for the info. After applying the patch, I see the system tries to connect to specified ports. 

Btw, maybe for debugging, the port could also be added in some debug messages which currently only contain hostnames.

Now, I see selinux not letting httpd connect to ports >1024, will need to fix that... :)