摘要: function check(){ expect -c " spawn ssh -A -q -\oStrictHostKeyChecking=no user@IP -t \" sudo timeout 2s sh test.sh \" expect { \"*assword\" { send \"p 阅读全文
posted @ 2021-06-18 19:25 新茶煮酒 阅读(62) 评论(0) 推荐(0) 编辑