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
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
相关文章推荐
- You need to install the perl-doc package to use this program
- You need to install the perl-doc package to use this program.
- You need to use a Theme.AppCompat theme (or descendant) with this activity
- You need to use a Theme.AppCompat theme (or descendant) with this activity
- You need to use a Theme.AppCompat theme (or descendant) with this activity.
- Android 开发问题集锦之:You need to use a Theme.AppCompat theme (or descendant) with this activity.
- You must use the Role Management Tool to install or configure Microsoft .NET Framework 3.5 SP1
- 【我的Android进阶之旅】解决bug:You need to use a Theme.AppCompat theme (or descendant) with this activity.
- You need to use a Theme.AppCompat theme (or descendant) with this activity解决方法
- java.lang.IllegalArgumentException: You need to use a Theme.AppCompat theme (or descendant) with ...
- update Yosemite ,prompt " * you need to install the legacy Java SE 6 Runtime"
- Material Design出现You need to use a Theme.AppCompat theme (or descendant) with this activity
- java.lang.IllegalStateException: You need to use a Theme.AppCompat theme (or descendant) with this a
- You need to use a Theme.AppCompat theme (or descendant) with this activity
- 关于You need to use a Theme.AppCompat theme (or descendant) with this activity的问题
- You need to use a Theme.AppCompat theme (or descendant) with this activity解决方法
- 10. You need to use a Theme.AppCompat theme (or descendant) with this activity
- Android问题集锦之二十八:You need to use a Theme.AppCompat theme (or descendant) with this activity.
- Error: You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-d
- You need to use a Theme.AppCompat theme (or descendant) with this activity.