Re: [ansible-devel] One Trouble! -- ansible connect to remote host

2016-10-18 Thread 杨杰
I try it, and exceute: ansible 192.168.170.197 -m setup but looks this: then ,input anything will be error always 在 2016年10月18日星期二

Re: [ansible-devel] One Trouble! -- ansible connect to remote host

2016-10-18 Thread 杨杰
Thank!!! 在 2016年10月18日星期二 UTC+8下午1:35:48,Martin Schmidt写道: > > 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

Re: [ansible-devel] One Trouble! -- ansible connect to remote host

2016-10-17 Thread Martin Schmidt
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