summaryrefslogtreecommitdiff
path: root/ssh_config.5
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2018-06-09 03:01:12 +0000
committerDamien Miller <djm@mindrot.org>2018-06-09 13:11:00 +1000
commit7082bb58a2eb878d23ec674587c742e5e9673c36 (patch)
treeca7c8ddb616358d96279fdbfd5986328f48a1821 /ssh_config.5
parent3b9798bda15bd3f598f5ef07595d64e23504da91 (diff)
upstream: add a SetEnv directive to ssh_config that allows setting
environment variables for the remote session (subject to the server accepting them) refactor SendEnv to remove the arbitrary limit of variable names. ok markus@ OpenBSD-Commit-ID: cfbb00d9b0e10c1ffff1d83424351fd961d1f2be
Diffstat (limited to 'ssh_config.5')
-rw-r--r--ssh_config.510
1 files changed, 8 insertions, 2 deletions
diff --git a/ssh_config.5 b/ssh_config.5
index f6f36c45f..20a60a2d5 100644
--- a/ssh_config.5
+++ b/ssh_config.5
@@ -33,8 +33,8 @@
33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 33.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 34.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35.\" 35.\"
36.\" $OpenBSD: ssh_config.5,v 1.275 2018/06/01 06:23:10 jmc Exp $ 36.\" $OpenBSD: ssh_config.5,v 1.276 2018/06/09 03:01:12 djm Exp $
37.Dd $Mdocdate: June 1 2018 $ 37.Dd $Mdocdate: June 9 2018 $
38.Dt SSH_CONFIG 5 38.Dt SSH_CONFIG 5
39.Os 39.Os
40.Sh NAME 40.Sh NAME
@@ -1404,6 +1404,12 @@ It is possible to clear previously set
1404variable names by prefixing patterns with 1404variable names by prefixing patterns with
1405.Pa - . 1405.Pa - .
1406The default is not to send any environment variables. 1406The default is not to send any environment variables.
1407.It Cm SetEnv
1408Directly specify one or more environment variables and their contents to
1409be sent to the server.
1410Similarly to
1411.Cm SendEnv ,
1412the server must be prepared to accept the environment variable.
1407.It Cm ServerAliveCountMax 1413.It Cm ServerAliveCountMax
1408Sets the number of server alive messages (see below) which may be 1414Sets the number of server alive messages (see below) which may be
1409sent without 1415sent without