summaryrefslogtreecommitdiff
path: root/ssh.1
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2021-07-13 23:48:36 +0000
committerDamien Miller <djm@mindrot.org>2021-07-14 09:49:47 +1000
commiteda8909d1b0a85b9c3804a04d03ec6738fd9dc7f (patch)
tree67d608d9dfd6d927376414a40eaf1c9fac286a13 /ssh.1
parent7ae69f2628e338ba6e0eae7ee8a63bcf8fea7538 (diff)
downloadopenssh-git-eda8909d1b0a85b9c3804a04d03ec6738fd9dc7f.tar.gz
upstream: add a SessionType directive to ssh_config, allowing the
configuration file to offer equivalent control to the -N (no session) and -s (subsystem) command-line flags. Part of GHPR#231 by Volker Diels-Grabsch with some minor tweaks; feedback and ok dtucker@ OpenBSD-Commit-ID: 726ee931dd4c5cc7f1d7a187b26f41257f9a2d12
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 e59716b9..6d083976 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.421 2021/07/02 05:11:21 dtucker Exp $
-.Dd $Mdocdate: July 2 2021 $
+.\" $OpenBSD: ssh.1,v 1.422 2021/07/13 23:48:36 djm Exp $
+.Dd $Mdocdate: July 13 2021 $
.Dt SSH 1
.Os
.Sh NAME
@@ -425,6 +425,11 @@ keyword for more information.
.It Fl N
Do not execute a remote command.
This is useful for just forwarding ports.
+Refer to the description of
+.Cm SessionType
+in
+.Xr ssh_config 5
+for details.
.Pp
.It Fl n
Redirects stdin from
@@ -546,6 +551,7 @@ For full details of the options listed below, and their possible values, see
.It SendEnv
.It ServerAliveInterval
.It ServerAliveCountMax
+.It SessionType
.It SetEnv
.It StreamLocalBindMask
.It StreamLocalBindUnlink
@@ -703,6 +709,11 @@ Subsystems facilitate the use of SSH
as a secure transport for other applications (e.g.\&
.Xr sftp 1 ) .
The subsystem is specified as the remote command.
+Refer to the description of
+.Cm SessionType
+in
+.Xr ssh_config 5
+for details.
.Pp
.It Fl T
Disable pseudo-terminal allocation.