Networking Forums

Networking Forums > Computer Networking > Linux Networking > ssh-agent fun

Reply
Thread Tools Display Modes

ssh-agent fun

 
 
/dev/null
Guest
Posts: n/a

 
      12-13-2004, 06:36 PM
(If you're seeing this for the second time, for some reason my first post
appeared and then immediately disappeared)

box 1 has keys setup for 2 and 3, and can ssh to either one without password
prompt

on box 1:

eval `ssh-agent`
ssh-add
ssh 2
<connects>
ssh 3
<password prompt>

I've set ForwardAgent yes in box 2's /etc/ssh/ssh_conf under Host *, but to
no effect.

Where should I be looking so I can get this resolved?

Thanks!



 
Reply With Quote
 
 
 
 
David Efflandt
Guest
Posts: n/a

 
      12-13-2004, 11:02 PM
On Mon, 13 Dec 2004 19:36:05 GMT, /dev/null <(E-Mail Removed)> wrote:
> (If you're seeing this for the second time, for some reason my first post
> appeared and then immediately disappeared)


I see both.

> box 1 has keys setup for 2 and 3, and can ssh to either one without password
> prompt
>
> on box 1:
>
> eval `ssh-agent`
> ssh-add
> ssh 2
><connects>
> ssh 3
><password prompt>
>
> I've set ForwardAgent yes in box 2's /etc/ssh/ssh_conf under Host *, but to
> no effect.


You should use ~/.ssh/config for that. The question is, do you have
ForwardAgent yes in your ~/.ssh/config on box 1, so you can use the agent
from box 2 to log onto 3?

It would only make sense to have ForwardAgent yes on box 2 if you were
going to use it on box 3 to ssh to a 4th box. And then it would still
have to be forwarded from box 1, unless ssh-agent was running somewhere on
2 or 3.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DHCP Relay Agent and NAT Boris Windows Networking 1 03-03-2008 02:49 AM
IF-TNCCS-SOH Agent fuki.style@gmx.net Linux Networking 0 07-27-2007 08:30 AM
Windows Update Agent into MSI Windows Networking 5 05-14-2007 02:49 PM
ssh-agent forwarding Dani Camps Linux Networking 1 02-07-2005 03:15 PM
ssh-agent fun /dev/null Linux Networking 0 12-13-2004 06:12 PM



1 2 3 4 5 6 7 8 9 10 11