On Mon, Mar 12, 2012 at 11:31, suvayu ali <fatkasuvayu+li...@gmail.com> wrote:
> Anyway, now to your question. I think you should use the ProxyCommand
> option for ssh. If A, B and C are fixed. You can put the folowing in
> your ~/.ssh/config.
>
> # using B as proxy to C
> Host    C
>        User            useronC
>        ProxyCommand    ssh -q B nc %h 22
>
> Host    B
>        User            useronB
>
>
> This will let you do the following:
>
> $ ssh -X B
> $ ssh -X C

I forgot to mention, this is assuming A is your workstation. If it is
another remote node, you will have to extend with another proxy.

GL

-- 
Suvayu

Open source is the future. It sets us free.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to