Skip to content

Commit 4bd6503

Browse files
committed
faq: ssh: proxy is an alternative
Clearly mention that the ProxyCommand is an alternative, less efficient than using SSH with MPTCP support directly. Also mention that other commands like scp, rsync, git, etc. can be used with 'mptcpize run' as well. Signed-off-by: Matthieu Baerts (NGI0) <[email protected]>
1 parent 8e3ec93 commit 4bd6503

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

faq.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -245,17 +245,19 @@ workarounds: </summary>
245245
`mptcpize run`, or set `LD_PRELOAD` to the full path of
246246
`libmptcpwrap.so.0.0.1`.
247247
- On the client side:
248-
- Prefix the command line with `mptcpize run`, e.g.
248+
- Prefix the SSH command line (or `scp`, `rsync`, `git`, etc.) with
249+
`mptcpize run`, e.g.
249250
```
250251
mptcpize run ssh example.org
251252
```
252-
- Set the `ProxyCommand` option to use `mptcpize run`, e.g. by using this line
253-
in the `~/.ssh/config` file:
253+
- An alternative is to set the `ProxyCommand` option to use `mptcpize run`,
254+
e.g. by using this line in the `~/.ssh/config` file:
254255
```
255256
Host (...)
256257
ProxyCommand mptcpize run ssh -W %h:%p -l %r -p %p %h
257258
```
258-
This is useful not to require a prefix for all `ssh` commands, or if SSH is
259-
used by other tools, e.g. `git`, a file manager like Nautilus, Filezilla,
260-
etc.
259+
This proxy command is less efficient, because it will force `ssh` to be
260+
launched a second time as a proxy. But it is useful not to require a prefix
261+
for all `ssh` commands, or if SSH is used by other tools, e.g. `git`, a file
262+
manager like Nautilus, Filezilla, etc.
261263
</details> {: .ctsm}

0 commit comments

Comments
 (0)