摘要: 1.链接远程 命令:ssh root@1.1.1.1 2.执行远程脚本 命令:ssh root@1.1.1.1 /data/demo/test.sh > 111.txt (执行远程的test.sh,然后把结果输入到111.txt) 命令:result=`ssh root@1.1.1.1 /data/ 阅读全文
posted @ 2018-03-29 15:53 深海懒猫 阅读(109) 评论(0) 推荐(0) 编辑