-
-
-
reviewboard/ssh/utils.py (Diff revision 1) This would be somewhat cleaner as: hostname, port = netloc.split(':', 1)
Enabling usage of non-standard ssh port (!=22) for connecting to repositories
Review Request #3712 — Created Jan. 3, 2013 and submitted
Based on "Issue 2841: Using non-standard ssh port (!=22) for connecting to git repository".
Verified that ssh connection is established but other error occurred described in comment #1 in bug report.
MA
Change Summary:
Resolved issues below. For some reason, I had to add port = int(port) after the split: hostname, port = netloc.split(':', 1) port = int(port)
Diff: |
Revision 2 (+10 -2) |
---|
MA
Change Summary:
There was another bug with SSH port handling is rbssh.py which is fixed in the attached patch.
Diff: |
Revision 3 (+19 -5) |
---|