Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | AcceptENV not working for USER variable |
|---|---|
| Date: | Tue, 11 Dec 2007 13:33:26 -0800 (PST) |
Hello, I am running into an issue attempting to send the USER variable using OpenSSH 3.9 for both the server and client. My /etc/ssh/ssh_config contains the SendEnv USER keyword and value, and debug output confirms it is being sent: #ssh -v -v -v -2 -l johndoe host5 debug1: Sending env USER = root debug2: channel 0: request env confirm 0 I also have the /etc/ssh/sshd_config file with AcceptEnv USER. However, the USER variable doesn't have the correct value on the remote machine, it has the value of johndoe (USER = johndoe): debug1: Sending env USER = root debug2: channel 0: request env confirm 0 debug3: Ignored env LS_COLORS debug3: Ignored env KDEDIR debug3: Ignored env MAIL debug3: Ignored env PATH debug3: Ignored env INPUTRC debug3: Ignored env PWD debug3: Ignored env LANG debug3: Ignored env SSH_ASKPASS debug3: Ignored env SHLVL debug3: Ignored env HOME debug3: Ignored env LOGNAME debug3: Ignored env SSH_CONNECTION debug3: Ignored env LESSOPEN debug3: Ignored env NIS_PATH debug3: Ignored env G_BROKEN_FILENAMES debug3: Ignored env _ debug3: Ignored env OLDPWD debug2: channel 0: request shell confirm 0 debug2: fd 3 setting TCP_NODELAY debug2: callback done debug2: channel 0: open confirm rwindow 0 rmax 32768 debug2: channel 0: rcvd adjust 131072 SunOS host5 5.6 Generic_105181-19 sun4u sparc SUNW,Ultra-60 Environment: USER=johndoe Is the USER variable read only? What am I missing here? Thanks, Eric -- View this message in context: http://www.nabble.com/AcceptENV-not-working-for-USER-variable-tp14221449p14221449.html Sent from the SSH (Secure Shell) mailing list archive at Nabble.com.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Help needed in SSH client from ssh-3.2.9.1, Venkata Chalapathi Nune |
|---|---|
| Next by Date: | OS user defined in LDAP and sftp performance., Mark van Huijstee |
| Previous by Thread: | Help needed in SSH client from ssh-3.2.9.1, Venkata Chalapathi Nune |
| Next by Thread: | OS user defined in LDAP and sftp performance., Mark van Huijstee |
| Indexes: | [Date] [Thread] [Top] [All Lists] |