( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0014415592{main}( ).../index.php:0
20.08984721024Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.349514076768Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.349714076712Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.349714077088Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.349714077088Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.349814077184Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.350114117104require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.353814480328GKTemplate->__construct( ).../component.php:31
100.359414645192GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.360114690048require_once( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKMenu.php' ).../helper.menu.php:19

( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
Call Stack
#TimeMemoryFunctionLocation
10.0014415592{main}( ).../index.php:0
20.08984721024Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.349514076768Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.349714076712Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.349714077088Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.349714077088Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.349814077184Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.350114117104require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.353814480328GKTemplate->__construct( ).../component.php:31
100.361914817992GKTemplateMenu->getMenuType( ).../gk.framework.php:85
解决backtrack5无法ssh登录问题
Logo
Print this page

解决backtrack5无法ssh登录问题

backtrack5安装完毕后,使用putty远程登录时显示network error:Connection refused
解决方法:

登录系统(系统默认用户名密码是root/toor,startx可以进入图形界面)

在命令终端输入命令,

#sshd-generate (系统可能会询问是否覆盖,全部选Y)。

或者

#ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key

密码置空

#ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key

密码置空

然后

:~# /etc/init.d/ssh restart

问题解决。


( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0014416408{main}( ).../index.php:0
20.08374721840Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.08374721840Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.394412357120Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.394812379088Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.395512434416Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.395712463240require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.403112898648K2ControllerItem->execute( ).../k2.php:64
90.403112898648K2ControllerItem->display( ).../BaseController.php:710
100.412113623848K2ControllerItem->display( ).../item.php:78
110.412113623848K2ControllerItem->display( ).../controller.php:19
120.416014020216Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.421714040584K2ViewItem->display( ).../ViewController.php:102
140.537917204104K2ViewItem->display( ).../view.html.php:742
150.537917204104K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.540717384304include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0014416408{main}( ).../index.php:0
20.08374721840Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.08374721840Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.394412357120Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.394812379088Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.395512434416Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.395712463240require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.403112898648K2ControllerItem->execute( ).../k2.php:64
90.403112898648K2ControllerItem->display( ).../BaseController.php:710
100.412113623848K2ControllerItem->display( ).../item.php:78
110.412113623848K2ControllerItem->display( ).../controller.php:19
120.416014020216Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.421714040584K2ViewItem->display( ).../ViewController.php:102
140.537917204104K2ViewItem->display( ).../view.html.php:742
150.537917204104K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.540717384304include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
Template Design © Joomla Templates | GavickPro. All rights reserved.