标签:无法连接 open 无法 server roo 端口 conf 连接 pass
1.root密码
默认root密码是随机的。我们可以在终端输入命令 sudo passwd,然后输入当前用户的密码,摁enter,终端会提示我们输入新的密码并确认,此时的密码就是root新密码。
2.无法连接22端口
请安装 ssh,命令为:sudo apt-get install openssh-server openssh-client
安装后如果无法以root登录,请修改/etc/ssh/sshd_config中的PermitRootLogin为yes 示例:PermitRootLogin yes
重启之后即可。命令: service ssh restart
标签:无法连接 open 无法 server roo 端口 conf 连接 pass
原文地址:http://www.cnblogs.com/focusahaha/p/7400515.html