Q:无法通过ssh连接到rpi?

A:这是由于OpenSSH更新引起的:默认情况下,不再允许root用户以密码方式ssh登录!

* The default for the sshd_config(5) PermitRootLogin option has changed from "yes" to "prohibit-password".

把树莓派的TF卡插到Ubuntu机器上,编辑其上的 /etc/ssh/sshd_config 文件,把下面这行的注释取消掉:

#PermitRootLogin yes

然后再启动树莓派,root就可以登录了。