ssh key setup and port-forwarding





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 cuser@C ).

now when i try to ssh from A to C like 'ssh -p2222 cuser@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