sshpass -p mypass ssh root@192.168.0.1 -o StrictHostKeyChecking=no touch /testfile.txt 转载于:https://www.cnblogs.com/yuandaozhe/p/10854744.html