summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2021-07-23 04:00:59 +0000
committerDamien Miller <djm@mindrot.org>2021-07-23 14:07:19 +1000
commite0c5088f1c96a145eb6ea1dee438010da78f9ef5 (patch)
treebf1fe4b7bca8439d4523466cb6d879581115a5ee /ssh_config.5
parente3957e21ffdc119d6d04c0b1686f8e2fe052f5ea (diff)
downloadopenssh-git-e0c5088f1c96a145eb6ea1dee438010da78f9ef5.tar.gz
upstream: Add a StdinNull directive to ssh_config(5) that allows
the config file to do the same thing as -n does on the ssh(1) commandline. Patch from Volker Diels-Grabsch via GHPR231; ok dtucker OpenBSD-Commit-ID: 66ddf3f15c76796d4dcd22ff464aed1edd62468e
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.520
1 files changed, 18 insertions, 2 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index fecca39d..eb417c95 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -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_config.5,v 1.357 2021/07/14 06:46:38 jmc Exp $
-.Dd $Mdocdate: July 14 2021 $
+.\" $OpenBSD: ssh_config.5,v 1.358 2021/07/23 04:00:59 djm Exp $
+.Dd $Mdocdate: July 23 2021 $
.Dt SSH_CONFIG 5
.Os
.Sh NAME
@@ -1675,6 +1675,22 @@ Similarly to
with the exception of the
.Ev TERM
variable, the server must be prepared to accept the environment variable.
+.It Cm StdinNull
+Redirects stdin from
+.Pa /dev/null
+(actually, prevents reading from stdin).
+Either this or the equivalent
+.Fl n
+option must be used when
+.Nm ssh
+is run in the background.
+The argument to this keyword must be
+.Cm yes
+(same as the
+.Fl n
+option) or
+.Cm no
+(the default).
.It Cm StreamLocalBindMask
Sets the octal file creation mode mask
.Pq umask