you need to create a key pair on A, and share it with C.
B is just forwarding the TCP connection.

On Wed, Dec 10, 2008 at 11:11 PM, a.k rasanth <[email protected]> wrote:
>
>
> All,
> i have linux running on A, B and C.
>
> A<---------->B<------------->C
>
> here i did a ssh key-setup between B and C ( generated rsa key and copyied it 
> authorized_keys in C).
> then did a port-forwarding on B ( ssh -4 -g -N -L2222:C:22 cu...@c ).
>
> now when i try to ssh from A to C like 'ssh -p2222 cu...@b' , it asks for 
> password.
> i was expecting it to login to C without asking for password.
> how to make ssh not ask for password?
>
> any help is highly appreciated.
>
> Thanks,
> Rasanth
>
> _________________________________________________________________
> Register once and play all contests. Increase your scores with bonus credits 
> for logging in daily on MSN.
> http://specials.msn.co.in/msncontest/index.aspx



-- 
And, did Galoka think the Ulus were too ugly to save?
                                         -Centauri

Reply via email to