互联网服务Ansible

ansible如何通过跳转主机访问无法访问的主机?

参与3

1同行回答

jayciededejayciedede技术经理安图特(北京)科技有限公司
ansible_ssh_common_args: '-o ProxyCommand="ssh -W %h:%p -q user@gateway.example.com"' ansible_ssh_common_args: '-o ProxyCommand="sshpass -f /etc/tpasswd ssh xx@10.10.10.1 -p 66677 nc %h %p"' 显示全部
ansible_ssh_common_args: '-o ProxyCommand="ssh -W %h:%p -q user@gateway.example.com"'
    ansible_ssh_common_args: '-o ProxyCommand="sshpass -f /etc/tpasswd ssh xx@10.10.10.1 -p 66677 nc %h %p"' 


收起
互联网服务 · 2019-12-27
浏览1412

提问者

jwhdhr
软件开发工程师农商银行
擅长领域: 数据库中间件消息中间件

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2019-12-27
  • 关注会员:2 人
  • 问题浏览:1782
  • 最近回答:2019-12-27
  • X社区推广