Hi,
you can use the ssh proxycommand option:

$ cat ~/.ssh/config

  Host host1
    User user1
    ProxyCommand ssh FM_user@FM -W %h:%p

Best,
Martin

On 18/10/16 05:36, 杨杰 wrote:
In my IT infrastructure , ansible can not connet to remote host by ssh directly,between server and remote has a FM(Fortress Machine),how can I connet to remote with zhe FM?
--
You received this message because you are subscribed to the Google Groups "Ansible Development" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected] <mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups "Ansible 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to