diff options
author | djm@openbsd.org <djm@openbsd.org> | 2023-07-17 06:08:31 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2023-07-17 06:53:53 +0200 |
commit | 919bc3d3b712c920de1ae6be5ac6561c98886d7e (patch) | |
tree | 765ab56514adb14a3edc2bbd7369919a91376a93 /ssh_config.5 | |
parent | upstream: add a "match localnetwork" predicate. (diff) | |
download | openssh-919bc3d3b712c920de1ae6be5ac6561c98886d7e.tar.xz openssh-919bc3d3b712c920de1ae6be5ac6561c98886d7e.zip |
upstream: Add support for configuration tags to ssh(1).
This adds a ssh_config(5) "Tag" directive and corresponding
"Match tag" predicate that may be used to select blocks of
configuration similar to the pf.conf(5) keywords of the same
name.
ok markus
OpenBSD-Commit-ID: dc08358e70e702b59ac3e591827e5a96141b06a3
Diffstat (limited to 'ssh_config.5')
-rw-r--r-- | ssh_config.5 | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/ssh_config.5 b/ssh_config.5 index 3d18fb2a2..0c2327e0b 100644 --- a/ssh_config.5 +++ b/ssh_config.5 @@ -33,7 +33,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $OpenBSD: ssh_config.5,v 1.381 2023/07/17 04:04:36 djm Exp $ +.\" $OpenBSD: ssh_config.5,v 1.382 2023/07/17 04:08:31 djm Exp $ .Dd $Mdocdate: July 17 2023 $ .Dt SSH_CONFIG 5 .Os @@ -144,6 +144,7 @@ The available criteria keywords are: .Cm localnetwork , .Cm host , .Cm originalhost , +.Cm Tag , .Cm user , and .Cm localuser . @@ -223,6 +224,15 @@ The .Cm originalhost keyword matches against the hostname as it was specified on the command-line. The +.Cm tagged +keyword matches a tag name specified by a prior +.Cm Tag +directive or on the +.Xr ssh 1 +command-line using the +.Fl P +flag. +The .Cm user keyword matches against the target username on the remote host. The @@ -1886,6 +1896,10 @@ To disable TCP keepalive messages, the value should be set to See also .Cm ServerAliveInterval for protocol-level keepalives. +.It Cm Tag +Specify a configuration tag name that may be later used by a +.Cm Match +directive to select a block of configuation. .It Cm Tunnel Request .Xr tun 4 |