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

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
解决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

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
Template Design © Joomla Templates | GavickPro. All rights reserved.