|
|
@@ -416,7 +416,7 @@ class V {
|
|
|
$pass = $password;
|
|
|
$pass = str_replace('!', '\!', $pass);
|
|
|
$sshPort = (22 != $port)? "-p {$port}" : '';
|
|
|
- $cmd = '/opt/local/bin/sshpass -p ' . $pass . ' ssh -o StrictHostKeyChecking=no -o ConnectTimeout=99999 ' . $sshPort . ' ' . $login . '@' . $host . ' -t <<EOF
|
|
|
+ $cmd = '/opt/local/bin/sshpass -p ' . $pass . ' ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o ConnectTimeout=99999 ' . $sshPort . ' ' . $login . '@' . $host . ' -t <<EOF
|
|
|
declare PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/local/bin:/opt/local/lib/mysql55/bin/:/Applications/Server.app/Contents/ServerRoot/usr/sbin/
|
|
|
|
|
|
'.$command.'
|