diff options
author | dtucker@openbsd.org <dtucker@openbsd.org> | 2015-04-28 10:17:58 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2015-04-29 18:20:13 +1000 |
commit | 85b96ef41374f3ddc9139581f87da09b2cd9199e (patch) | |
tree | 027373a4acdc2d026501277d8808a4bf4a269950 | |
parent | 88a7c598a94ff53f76df228eeaae238d2d467565 (diff) | |
download | openssh-git-85b96ef41374f3ddc9139581f87da09b2cd9199e.tar.gz |
upstream commit
Document that the TERM environment variable is not
subject to SendEnv and AcceptEnv. bz#2386, based loosely on a patch from
jjelen at redhat, help and ok jmc@
-rw-r--r-- | ssh_config.5 | 8 | ||||
-rw-r--r-- | sshd_config.5 | 10 |
2 files changed, 13 insertions, 5 deletions
diff --git a/ssh_config.5 b/ssh_config.5 index 22082049..30481191 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.206 2015/03/30 18:28:37 jmc Exp $ -.Dd $Mdocdate: March 30 2015 $ +.\" $OpenBSD: ssh_config.5,v 1.207 2015/04/28 10:17:58 dtucker Exp $ +.Dd $Mdocdate: April 28 2015 $ .Dt SSH_CONFIG 5 .Os .Sh NAME @@ -1333,6 +1333,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 +enviroment 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 d3148c2c..9d7a8e80 100644 --- a/sshd_config.5 +++ b/sshd_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: sshd_config.5,v 1.196 2015/04/27 21:42:48 djm Exp $ -.Dd $Mdocdate: April 27 2015 $ +.\" $OpenBSD: sshd_config.5,v 1.197 2015/04/28 10:17:58 dtucker Exp $ +.Dd $Mdocdate: April 28 2015 $ .Dt SSHD_CONFIG 5 .Os .Sh NAME @@ -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 +enviroment variable is always sent whenever the client +requests apseudo-terminal is requested as it is required by the protocol. Variables are specified by name, which may contain the wildcard characters .Ql * and |