Re: ssh key setup and port-forwarding

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <rasanth@xxxxxxxxxxx> 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 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



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

[Index of Archives]     [Open SSH Unix Development]     [Fedora Users]     [Fedora Desktop]     [Yosemite Backpacking]     [KDE Users]     [Gnome Users]

  Powered by Linux