SSH 错误:无法将数据发送到远程主机 \ "x.x.x.x" 。确保可以通过 ssh 访问此主机



发生此错误。请让我知道如何解决它

fatal: [158.69.79.128]: UNREACHABLE! => {
"changed": false, 
"msg": "SSH Error: data could not be sent to remote host "158.69.79.128". Make sure this host can be reached over ssh", 
"unreachable": true
}
to retry, use: --limit @/home/devsoft/work/hikster/deploy/dev.retry
PLAY RECAP ********************************************************************************************************
158.69.79.128              : ok=0    changed=0    unreachable=1    failed=0   

尝试在 ansible 中添加这些行.cfg

[ssh_connection]
scp_if_ssh = smart
transfer_method = smart

相关内容

最新更新