Enabling ssh-agent?

Charles Curley charlescurley at charlescurley.com
Wed Apr 2 15:42:07 MDT 2008


On Wed, Apr 02, 2008 at 03:17:48PM -0600, Andrew Jorgensen wrote:
> On Wed, 2008-04-02 at 15:00 -0600, Charles Curley wrote:
> > ssh-agent is running on the machine. When I am logged in locally on
> > that machine, it works. It's only when I SSH in from another machine
> > that it doesn't work. The workaround is to run another instance of
> > ssh-agent. I just have to remember to do it.
> 
> I think you may be confused.

Of course I'm confused. That's my normal state.

> Having an ssh-agent running is not enough.  You must also have
> environment variables set so that ssh can find the agent.

Ah, which sshd won't do for you when you log in via SSH, but GDM (?)
will when you log in a the console.

> 
> But if I understand your situation what you really want is agent
> forwarding (ssh -A).  You're going from host A to host B and then from
> host B to host C?  Or you may want something like keychain
> <http://www.gentoo.org/proj/en/keychain/>.

I want to SSH from A to B. Then I want to use B's keys to log in from
B to C.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://plug.org/pipermail/plug/attachments/20080402/2ceaa9b2/attachment.bin 


More information about the PLUG mailing list