您的位置:首页 > 编程语言 > PHP开发

PHP: to use scptask, you need to install the SSH extension.

2011-02-17 13:24 567 查看
pecl install -f ssh2

php -m |grep ssh2

显示ssh2则表明 php已经加载ssh;

否则请检查路径(ssh2.so放在php安装目录的extensions下;php.ini中extension路径应指对地方。)

再执行phing去deploy,发现没有密码认证

Could not authenticate connection!

/etc/ssh/sshd_config:

PasswordAuthentication yes

然后

/etc/init.d/ssh restart

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  ssh 休闲 hudson
相关文章推荐