[Bug 1336] New: Environment variable changes

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sun Jul 8 06:36:48 EST 2007


           Summary: Environment variable changes
           Product: Portable OpenSSH
           Version: 4.3p2
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: ssh
        AssignedTo: bitbucket at mindrot.org
        ReportedBy: kernel at pkts.ca

I'm using rxvt-unicode as my terminal program.  It has a TERM
environment variable of 'rxvt-unicode'.  My system has entries for that
in termcap and terminfo.  Everything is hunky-dory.

When I ssh to another person's system, they don't have entries for that
in termcap and terminfo.  I'd like to add an entry in ~/.ssh/config
that lets me set the TERM environment variable, but that's apparently
not an option yet.  My hackish solution is 'env TERM=xterm ssh

I can't see where TERM is defined as an environment variable that
should be sent; it's not in ~/.ssh/config nor /etc/ssh/ssh_config.  The
man pages don't mention TERM; they explicitly say that no environment
variables are sent (man ssh_config, look for SendEnv).  'Man slogin'
says that some environment variables are set on the server side; but
TERM isn't one of them.


Configure bugmail: http://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

More information about the openssh-bugs mailing list