diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2021-07-23 04:01:00 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2021-07-23 04:01:00 +0000 |
commit | 23381a9697df632d79117ebf9aa503cb7ea0537d (patch) | |
tree | 2c5185c9950c1202691a84dde92f3a1f84c51433 /usr.bin/ssh/ssh_config.5 | |
parent | b28c693054f04f0546062fc972aa415e86efc3cf (diff) |
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
Diffstat (limited to 'usr.bin/ssh/ssh_config.5')
-rw-r--r-- | usr.bin/ssh/ssh_config.5 | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh_config.5 b/usr.bin/ssh/ssh_config.5 index 793035b35b7..3464bb0c6f2 100644 --- a/usr.bin/ssh/ssh_config.5 +++ b/usr.bin/ssh/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 @@ -1676,6 +1676,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 |