openwrt自带的dropbear慢成撒币。遂决定尝鲜一把openssh。

先把dropbear的端口改成222,防止openssh没弄成,ssh进不去了。

opkg install openssh-server

修改/etc/ssh/sshd_config文件,

PermitRootLogin yes

PasswordAuthentication yes

PermitEmptyPasswords yes

:wq保存,重启sshd即可。