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: HELP please! Why is the agent NOT recognized |
|---|---|
| Date: | Mon, 16 Aug 2004 13:45:43 -0400 |
BTW, ssh-agent $SHELL does what eval `ssh-agent` does... -chris
-----Original Message----- From: Darren Tucker [mailto:dtucker@zip.com.au] Sent: Friday, August 13, 2004 11:46 PM To: Fouts Christopher (IFNA MP DC) Cc: secureshell@securityfocus.com Subject: Re: HELP please! Why is the agent NOT recognized Christopher.Fouts@infineon.com wrote:I have 2 machines, remote SSH server is a Linux (RH Fedora) and local SSH client is HPUX 10.20. I mimiced the steps I did to have SSH working for user1 for user2. user1 can tunnel through, but not user2. I gathered the following debug lines for the user2 session, and it seems like the agent I create is NOT recognized by ssh, at least I think so as evident from the "No agent" line midway down. I do... > ssh-agent $SHELL > ssh-addTry: $ eval `ssh-agent` $ ssh-add You need to "eval" the output of ssh-agent to set the environment variables required to let ssh know how to find the agent. Recent versions of the ssh-agent man page make this somewhat clearer: [quote] There are two main ways to get an agent set up: The first is that the agent starts a new subcommand into which some environment variables are exported, eg ssh-agent xterm &. The second is that the agent prints the needed shell commands (either sh(1) or csh(1) syntax can be generated) which can be evalled in the calling shell, eg eval `ssh-agent -s` for Bourne-type shells such as sh(1) or ksh(1) and eval `ssh-agent -c` for csh(1) and derivatives. [/quote] -- Darren Tucker (dtucker at zip.com.au) GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69 Good judgement comes with experience. Unfortunately, the experience usually comes from bad judgement.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | OpenSSH 3.9 released, Markus Friedl |
|---|---|
| Next by Date: | Re: Problem tunneling X11 on AIX, Edward Geraghty |
| Previous by Thread: | Re: HELP please! Why is the agent NOT recognized, Darren Tucker |
| Next by Thread: | Re: HELP please! Why is the agent NOT recognized, docks |
| Indexes: | [Date] [Thread] [Top] [All Lists] |