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: | Tue, 10 Jul 2007 11:29:40 -0600 |
On Tuesday, July 10, 2007 6:28 AM, Greg Wooledge wrote:
Sure it does. Or at least, it can be made to do so. 1) Set "PermitUserEnvironment yes" in sshd_config. 2) Put "ENV=$HOME/.kshrc" in ~/.ssh/environment on the server. 3) Put "barney=rubble" in ~/.kshrc on the server. 4) Put your public key in ~/.ssh/authorized_keys on the server. Here's what I get: [...]
Thanks for the detailed reply. My problem is the $HOME is shared: If I want to have "barney=rubble" for host1 and "barney=block" for host2, and the $HOME/.ssh/environment and $HOME/.kshrc are shared between host1 and host2, so I am facing what to put. I don't know if $HOME/.ssh/rc can help.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Environment Settings, Greg Wooledge |
|---|---|
| Next by Date: | Fatal: unable to initialise SFTP on server: could not connect, lc.cooke |
| Previous by Thread: | Re: Environment Settings, Greg Wooledge |
| Next by Thread: | Re: Environment Settings, Greg Wooledge |
| Indexes: | [Date] [Thread] [Top] [All Lists] |