doc: [ssh] Use %n for ProxyCommand (#1696)
This commit is contained in:
1 parent
f46803d808
commit
3a7f12f0c3
1 file changed
+1
-1
@@ -19,7 +19,7 @@ Start by configuring a `Host` entry in `.ssh/ssh_config` for `localhost`:
|
||||
|
||||
```bash
|
||||
Host ttcp_*
|
||||
ProxyCommand sh -c "boundary connect -target-id %h -exec nc -- {{boundary.ip}} {{boundary.port}}"
|
||||
ProxyCommand sh -c "boundary connect -target-id %n -exec nc -- {{boundary.ip}} {{boundary.port}}"
|
||||
```
|
||||
|
||||
The `ProxyCommand` tells the SSH client to invoke `boundary connect`. We are passing the `-exec nc` flag to
|
||||
|
||||
Reference in new issue
Block a user