Lars Nooden wrote:
> >>         +--E
> >>         |
> >> A----B--+--C
> >>         |
> >>         +--D


Juan Miscaro wrote:
> Host B
>   HostName host-B
>   User user-B
>   IdentityFile key-B
> 
> Host C
>   HostName host-C
>   User user-C
>   IdentityFile key-C
>   ProxyCommand ssh B nc %h %p

Yes, thanks very much.

Also, instead of using ssh_config, the same can be done via shell:

        ssh -o "ProxyCommand ssh B nc %h %p" C

> Note: Investigate ssh-agent if you do not already use it.

I use it but freely admit that it is under-utilized.

-Lars

Reply via email to