命令示例:
sshpass -p "buray" scp -o StrictHostKeyChecking=no root@192.168.1.100:/root/test/test ./
前提条件:
需要安装sshpass
yum install sshpass