summaryrefslogtreecommitdiffstats
path: root/ssh.1
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2023-07-17 06:08:31 +0200
committerDamien Miller <djm@mindrot.org>2023-07-17 06:53:53 +0200
commit919bc3d3b712c920de1ae6be5ac6561c98886d7e (patch)
tree765ab56514adb14a3edc2bbd7369919a91376a93 /ssh.1
parentupstream: add a "match localnetwork" predicate. (diff)
downloadopenssh-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.1')
-rw-r--r--ssh.115
1 files changed, 13 insertions, 2 deletions
diff --git a/ssh.1 b/ssh.1
index 3d89c7d7f..4935a6ff5 100644
--- a/ssh.1
+++ b/ssh.1
@@ -33,8 +33,8 @@
.\" (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.1,v 1.434 2023/06/21 05:08:32 djm Exp $
-.Dd $Mdocdate: June 21 2023 $
+.\" $OpenBSD: ssh.1,v 1.435 2023/07/17 04:08:31 djm Exp $
+.Dd $Mdocdate: July 17 2023 $
.Dt SSH 1
.Os
.Sh NAME
@@ -59,6 +59,7 @@
.Op Fl O Ar ctl_cmd
.Op Fl o Ar option
.Op Fl p Ar port
+.Op Fl P Ar tag
.Op Fl Q Ar query_option
.Op Fl R Ar address
.Op Fl S Ar ctl_path
@@ -593,6 +594,16 @@ For full details of the options listed below, and their possible values, see
.It XAuthLocation
.El
.Pp
+.It Fl P Ar tag
+Specify a tag name that may be used to select configuration in
+.Xr ssh_config 5 .
+Refer to the
+.Cm Tag
+and
+.Cm Match
+keywords in
+.Xr ssh_config 5
+for more information.
.It Fl p Ar port
Port to connect to on the remote host.
This can be specified on a