curl -k https://192.168.74.129:8006/ -H "Accept: application/x-yaml" -H "X-Auth-Token: bb2a92d5590a8a60f7f03f32596e85dd2d6b5b04" -d client=‘local‘ -d tgt=‘*‘ -d fun=‘cmd.run‘ -d arg=‘df -h‘ #远程执行df -h命令
时间: 2025-01-03 15:25:10
curl -k https://192.168.74.129:8006/ -H "Accept: application/x-yaml" -H "X-Auth-Token: bb2a92d5590a8a60f7f03f32596e85dd2d6b5b04" -d client=‘local‘ -d tgt=‘*‘ -d fun=‘cmd.run‘ -d arg=‘df -h‘ #远程执行df -h命令