rcolebaugh / rpms / openssh

Forked from rpms/openssh 2 years ago
Clone

Blame SOURCES/openssh-6.6p1-document-TERM-env.patch

674526
diff --git a/ssh_config.5 b/ssh_config.5
674526
index e7accd6..c95fda6 100644
674526
--- a/ssh_config.5
674526
+++ b/ssh_config.5
674526
@@ -1253,6 +1253,10 @@ should be sent to the server.
674526
 Note that environment passing is only supported for protocol 2.
674526
 The server must also support it, and the server must be configured to
674526
 accept these environment variables.
674526
+Note that the
674526
+.Ev TERM
674526
+environment variable is always sent whenever a
674526
+pseudo-terminal is requested as it is required by the protocol.
674526
 Refer to
674526
 .Cm AcceptEnv
674526
 in
674526
diff --git a/sshd_config.5 b/sshd_config.5
674526
index aa9525d..2320128 100644
674526
--- a/sshd_config.5
674526
+++ b/sshd_config.5
674526
@@ -70,7 +70,11 @@ See
674526
 in
674526
 .Xr ssh_config 5
674526
 for how to configure the client.
674526
-Note that environment passing is only supported for protocol 2.
674526
+Note that environment passing is only supported for protocol 2, and
674526
+that the
674526
+.Ev TERM
674526
+environment variable is always sent whenever the client
674526
+requests a pseudo-terminal as it is required by the protocol.
674526
 Variables are specified by name, which may contain the wildcard characters
674526
 .Ql *
674526
 and