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: | RE: Environment Settings |
|---|---|
| Date: | Wed, 11 Jul 2007 13:32:16 -0600 |
On Wednesday, July 11, 2007 6:48 AM, Greg Wooledge wrote:
1) Set "PermitUserEnvironment yes" in sshd_config.
2) Put "ENV=$HOME/.kshrc" in ~/.ssh/environment on the server.
3) Put your public key in ~/.ssh/authorized_keys on the server.
4) In ~/.kshrc on the server, put:
case $(hostname) in
host1) barney=rubble;;
host2) barney=block;;
esac
Yes, that's the hint! It works. In my environment, the 'ENV=$HOME/.kshrc' is critical, otherwise it does not work. Thanks again for your time and guide. Regards, Jialing Liang Jialing.liang@cmgl.ca
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Environment Settings, Greg Wooledge |
|---|---|
| Next by Date: | Re: GSSAPI MIC check, Simon Wilkinson |
| Previous by Thread: | Re: Environment Settings, Greg Wooledge |
| Next by Thread: | authorized_keys options for password access ??, Michael Gale |
| Indexes: | [Date] [Thread] [Top] [All Lists] |