解决[WARNING]: sftp transfer mechanism failed on [xx]. Use ANSIBLE_DEBUG=1 to see detailed information
ansible 执行命令时,部分主机出现[WARNING]: sftp transfer mechanism failed on [xx]. Use ANSIBLE_DEBUG=1 to see detailed information的报错,以下为解决方案:
一、修改sshd_config文件,取消注释Subsystem sftp /usr/lib/ssh/sftp-server
Subsystem sftp /usr/lib/ssh/sftp-server
当该行注释时,表示禁用sftp,需取消注释启用,修改配置后重启sshd服务
二、当sftp已启用时,报错仍然存在,修改ansible配置文件,添加scp_if_ssh=True
vi /etc/ansible/ansible.cfg
[ssh_connection]
scp_if_ssh=True
重新执行ansible,报错不存在了
解决[WARNING]: sftp transfer mechanism failed on [xx]. Use ANSIBLE_DEBUG=1 to see detailed information相关推荐
- 解决Warning: Cannot modify header information - headers already sent b...
解决Warning: require(E:\testwwwroot\cc06\wp-admin/wp-includes/compat.php) [function.require]: failed t ...
- Laravel 发送邮件报错的解决方案:PHP Warning: stream_socket_enable_crypto(): SSL operation failed with code 1.
在搭建好私人邮箱服务器后,正好做了一个共享主机的产品,就需要在申请共享主机后给用户发通知,遇到这个报错: PHP Warning: stream_socket_enable_crypto(): SSL ...
- php warning: directive,安装Composer PHP Warning: copy(): SSL operation failed with code
报错信息 [root@localhost ~]# php -r "copy('https://install.phpcomposer.com/installer', 'composer-se ...
- Centos9 PHP Warning: copy(): SSL operation failed with code 1. OpenSSL Error messages:
问题 执行php -r "copy('http://install.phpcomposer.com/installer', 'composer-setup.php');"后报错: ...
- 解决git下载出现:Failed to connect to 127.0.0.1 port 1080: Connection refused拒绝连接错误
解决git下载出现:Failed to connect to 127.0.0.1 port 1080: Connection refused拒绝连接错误 文章目录: 一.git拒绝连接原因分析 二.错 ...
- 成功解决WARNING: Ignoring invalid distribution -illow (E:\program files\python\python36\lib\site-package
成功解决WARNING: Ignoring invalid distribution -illow (E:\program files\python\python36\lib\site-package ...
- 成功解决WARNING:tensorflow:From :read_data_sets (from tensorflow.contrib.learn.python.learn.
成功解决WARNING:tensorflow:From :read_data_sets (from tensorflow.contrib.learn.python.learn. 目录 解决问题 解决思 ...
- 成功解决WARNING: You do not appear to have an NVIDIA GPU supported by the 430.34 NVIDIA Linux graph
成功解决WARNING: You do not appear to have an NVIDIA GPU supported by the 430.34 NVIDIA Linux graph ...
- 成功解决WARNING:tensorflow:Variable += will be deprecated. Use variable.assign_add if you want assignmen
成功解决WARNING:tensorflow:Variable += will be deprecated. Use variable.assign_add if you want assignmen ...
最新文章
- 密钥生成并配置_基于密钥的SSH认证流程
- [architecture]-DBG、DMB、DSB 和 ISB指令介绍
- SwiftUI之深入解析如何实现3D Scroll效果
- SQLAlchemy 报错 NotSupportedError: Authentication plugin ‘caching_sha2_password’ is not supported 解决方法
- Python-100 | 练习题 01 列表推导式
- Linux tcpdump
- MySQL 创建联结
- matlab 符号 推倒,【MATLAB】符号数学计算(四):符号表达式操作
- 一个人越来越有潜力的3个迹象
- 拜占庭将军们的投票出了问题
- cad插入块_CAD图块全攻略:别羡慕我下班早,我的CAD软件会开挂
- 163vip邮箱登陆入口,怎么登录163邮箱?
- matplotlib折线图与柱状图绘制在一起
- 狂神说Java系列视频教程之docker(记录到swarm安装)
- 【总结】GitHub的使用
- 2018第十届中国云计算大会7月即将开幕!
- Android自定义底部弹出窗-dialog(2种实现分析+源码)
- bk650不支持服务器系统,Nas好伴侣,BK650m-ch2。兼容Unraid解决办法
- wms系统的出库单价是这样自动生成的?
- C1_任务01_修改游戏存档(植物大战僵尸)
热门文章
- mac python2.7升级到3.7_Mac下python2.7 升级到3.7
- 哥们哥们,人机大战晓得吧玩家对战晓得吧,简易三子棋,呕心沥血500行代码手把手带你制作第一个小游戏,可以保存收藏以后接着看哟,最后有源码哦
- 如何使用Mojave将APFS卷上的MacOS Catalina Beta安装到双引导
- 朴素贝叶斯情感分析评分python_「豆瓣影评」从爬取豆瓣影评到基于朴素贝叶斯的电影评论情感分析(上) - seo实验室...
- Ambari 自定义服务集成 | quicklinks 快速链接不显示的排查方案
- 怎么把游戏隐藏到计算机,怎么将电脑游戏隐藏桌面
- 使用Cisco Packet Tracer练习无线还真不错!
- Python爬取知乎“神回复”,笑得根本停不下来(附代码)
- 2017.1.12——寒假集训第一天
- 单日涨粉10w+,他做了什么让流量和口碑都火爆?