标签:io ar on art cti as 安装 php ip
<?php
$connection=ssh2_connect(‘172.16.10.3‘,22);
ssh2_auth_password($connection,$user,$pass);
$cmd="/data/script/start.sh knowledgelib_fix_2";
$ssh2_exec($connection,$cmd);
?>
前提是php要安装ssh.so扩展.
标签:io ar on art cti as 安装 php ip
原文地址:http://www.cnblogs.com/jyb2014/p/4128525.html