summaryrefslogtreecommitdiff
path: root/Documentation/urls.txt
diff options
context:
space:
mode:
authorLuben Tuikov <ltuikov@yahoo.com>2007-09-01 09:36:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-09-01 10:35:29 (GMT)
commit2e7766655abd0312a6bf4db6a6ff141e7e4ac8b6 (patch)
tree4a30f8f91f641f3b89bdf4204045e6de92df3303 /Documentation/urls.txt
parentc7965afd3dac7b9b6c1d4da27d3757e7d41aa060 (diff)
downloadgit-2e7766655abd0312a6bf4db6a6ff141e7e4ac8b6.zip
git-2e7766655abd0312a6bf4db6a6ff141e7e4ac8b6.tar.gz
git-2e7766655abd0312a6bf4db6a6ff141e7e4ac8b6.tar.bz2
URL: allow port specification in ssh:// URLs
Allow port specification in ssh:// URLs in the usual notation: ssh://[user@]host.domain[:<port>]/<path> This allows git to be used over ssh-tunneling networks. Signed-off-by: Luben Tuikov <ltuikov@yahoo.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/urls.txt')
-rw-r--r--Documentation/urls.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/urls.txt b/Documentation/urls.txt
index b38145f..e67f914 100644
--- a/Documentation/urls.txt
+++ b/Documentation/urls.txt
@@ -10,6 +10,7 @@ to name the remote repository:
- https://host.xz/path/to/repo.git/
- git://host.xz/path/to/repo.git/
- git://host.xz/~user/path/to/repo.git/
+- ssh://{startsb}user@{endsb}host.xz{startsb}:port{endsb}/path/to/repo.git/
- ssh://{startsb}user@{endsb}host.xz/path/to/repo.git/
- ssh://{startsb}user@{endsb}host.xz/~user/path/to/repo.git/
- ssh://{startsb}user@{endsb}host.xz/~/path/to/repo.git
@@ -18,7 +19,8 @@ to name the remote repository:
SSH is the default transport protocol over the network. You can
optionally specify which user to log-in as, and an alternate,
scp-like syntax is also supported. Both syntaxes support
-username expansion, as does the native git protocol. The following
+username expansion, as does the native git protocol, but
+only the former supports port specification. The following
three are identical to the last three above, respectively:
===============================================================