mysql非交互
mysql [options] << EOF
代码段
EOF
ssh非交互
yum -y install epel-release
yum -y install sshpass
sshpass -p ‘yourpass‘ ssh [email protected] ‘command‘
原文地址:http://blog.51cto.com/sonlich/2114154
时间: 2024-10-11 15:44:15
mysql非交互
mysql [options] << EOF
代码段
EOF
ssh非交互
yum -y install epel-release
yum -y install sshpass
sshpass -p ‘yourpass‘ ssh [email protected] ‘command‘
原文地址:http://blog.51cto.com/sonlich/2114154