diff options
author | Luben Tuikov <ltuikov@yahoo.com> | 2007-09-01 02:36:31 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-09-01 03:35:29 -0700 |
commit | 2e7766655abd0312a6bf4db6a6ff141e7e4ac8b6 (patch) | |
tree | 4a30f8f91f641f3b89bdf4204045e6de92df3303 /Documentation | |
parent | c7965afd3dac7b9b6c1d4da27d3757e7d41aa060 (diff) | |
download | git-2e7766655abd0312a6bf4db6a6ff141e7e4ac8b6.tar.gz git-2e7766655abd0312a6bf4db6a6ff141e7e4ac8b6.tar.xz |
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')
-rw-r--r-- | Documentation/urls.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/urls.txt b/Documentation/urls.txt index b38145faf..e67f9140a 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: =============================================================== |