doc: [ssh] Use %n for ProxyCommand (#1696)

This commit is contained in:
George Christou authored and GitHub committed 2021-11-12 10:37:42 -05:00
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