You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
1.0 KiB

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