解决ssh packet_write_wait: Connection to 192.168.xx.xx port 22: Broken pipe的问题
通过sshpass在远端服务器执行shell脚本,但是当shell脚本执行完成退出后,sshpass还未释放,过了2个多小时才退出,并抛出“ssh packet_write_wait: Connection to 192.168.xx.xx port 22: Broken pipe”的报错解决:修改/etc/ssh/sshd_config添加如下内容ClientAliveInterval=60#每
·

所有评论(0)