报错内容:
SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh
解决方案:
命令行执行:export ANSIBLE_SCP_IF_SSH=y
解决SSH远程主机无法发送数据问题
本文介绍了一种常见的SSH连接错误,即无法向远程主机发送数据的问题,并提供了一个简单的解决方案:通过在命令行中执行特定命令来启用SCP over SSH,从而确保远程主机的可达性。
报错内容:
SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh
解决方案:
命令行执行:export ANSIBLE_SCP_IF_SSH=y
转载于:https://my.oschina.net/FrankXin/blog/735071
2864
4052
887

被折叠的 条评论
为什么被折叠?