خرید بک لینک

I have something like this in my ~/.ssh/config:

Host     foo
Hostname foo001.a.b.c.d

Host     bar
Hostname foo011.a.b.c.d

Host            *.a.b.c.d
ProxyCommand    ssh -A -l sds XXX.YYY.ZZZ.TTT nc %h %p

Host            *
ForwardAgent    yes

when I do ssh -vvv foo I see this:

debug1: /.../.ssh/config line 36: Applying options for foo
debug1: /.../.ssh/config line 50: Applying options for *

Why is the option with ProxyCommand not applied? The Host there matches the Hostname in foo.

Is there a way to do what I want to, i.e., map short name to FQDNs and then handle them in separately?

- - , .

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 28 بهمن 1394 ساعت: 21:38

صفحه بندی