[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#505293: openssh-server: sshd should AcceptEnv COLORFGBG

Package: openssh-server
Version: 1:5.1p1-2
Severity: wishlist
Tags: patch

Various terminal software such as urxvt and iTerm.app set the COLORFGBG
environment variable. This variable allows software such as Vim to
detect the terminal colours and display itself appropriately.
For example, Vim does :set background=light or :set background=dark
depending on whether the terminal has a light or a dark background

This is a very convenient feature and it would be great for sshd to pass
this environment variable through by default. This would save me the
effort of editing sshd_config on every machine I use in order for
COLORFGBG to propagate when I ssh there.

The necessary line to change in sshd_config is:




-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages openssh-server depends on:
ii  adduser               3.108              add and remove users and groups
ii  debconf [debconf-2.0] 1.5.22             Debian configuration management sy
ii  dpkg                  1.14.20            Debian package management system
ii  libc6                 2.7-13             GNU C Library: Shared libraries
ii  libcomerr2            1.41.0-3           common error description library
ii  libkrb53              1.6.dfsg.4~beta1-3 MIT Kerberos runtime libraries
ii  libpam-modules        1.0.1-2            Pluggable Authentication Modules f
ii  libpam-runtime        1.0.1-2            Runtime support for the PAM librar
ii  libpam0g              1.0.1-2            Pluggable Authentication Modules l
ii  libselinux1           2.0.65-2           SELinux shared libraries
ii  libssl0.9.8           0.9.8g-13          SSL shared libraries
ii  libwrap0              7.6.q-15           Wietse Venema's TCP wrappers libra
ii  lsb-base              3.2-19             Linux Standard Base 3.2 init scrip
ii  openssh-blacklist     0.4.1              list of default blacklisted OpenSS
ii  openssh-client        1:5.1p1-2          secure shell client, an rlogin/rsh
ii  zlib1g                1:  compression library - runtime

Versions of packages openssh-server recommends:
ii  openssh-blacklist-extra       0.4.1      list of non-default blacklisted Op
ii  xauth                         1:1.0.3-2  X authentication utility

Versions of packages openssh-server suggests:
pn  molly-guard                   <none>     (no description available)
pn  rssh                          <none>     (no description available)
pn  ssh-askpass                   <none>     (no description available)

-- debconf information excluded

Reply to: