git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
blob 3902c8371dceac20331906da0759fb7cee394b6b 1407 bytes (raw)
name: Documentation/config/ssh.txt 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
 
ssh.variant::
	By default, Git determines the command line arguments to use
	based on the basename of the configured SSH command (configured
	using the environment variable `GIT_SSH` or `GIT_SSH_COMMAND` or
	the config setting `core.sshCommand`). If the basename is
	unrecognized, Git will attempt to detect support of OpenSSH
	options by first invoking the configured SSH command with the
	`-G` (print configuration) option and will subsequently use
	OpenSSH options (if that is successful) or no options besides
	the host and remote command (if it fails).
+
The config variable `ssh.variant` can be set to override this detection.
Valid values are `ssh` (to use OpenSSH options), `plink`, `putty`,
`tortoiseplink`, `simple` (no options except the host and remote command).
The default auto-detection can be explicitly requested using the value
`auto`.  Any other value is treated as `ssh`.  This setting can also be
overridden via the environment variable `GIT_SSH_VARIANT`.
+
The current command-line parameters used for each variant are as
follows:
+
--

* `ssh` - [-p port] [-4] [-6] [-o option] [username@]host command

* `simple` - [username@]host command

* `plink` or `putty` - [-P port] [-4] [-6] [username@]host command

* `tortoiseplink` - [-p port] [-4] [-6] [username@]host command

--
+
Except for the `simple` variant, command-line parameters are likely to
change as git gains new features.

debug log:

solving 3902c8371d ...
found 3902c8371d in https://public-inbox.org/git/82c63c23-446a-1945-0083-f1f5af6d43e8@cs-ware.de/
found 2ca4bf93e1 in https://80x24.org/mirrors/git.git
preparing index
index prepared:
100644 2ca4bf93e1e30fb37e9badb1ac34065f5d6e38e6	Documentation/config/ssh.txt

applying [1/1] https://public-inbox.org/git/82c63c23-446a-1945-0083-f1f5af6d43e8@cs-ware.de/
diff --git a/Documentation/config/ssh.txt b/Documentation/config/ssh.txt
index 2ca4bf93e1..3902c8371d 100644

Checking patch Documentation/config/ssh.txt...
Applied patch Documentation/config/ssh.txt cleanly.

index at:
100644 3902c8371dceac20331906da0759fb7cee394b6b	Documentation/config/ssh.txt

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).