[巴法络] LS-WQL 1.64版改机后无法SecureCR或Winscp 登陆的解决方法! |
按照教程改机后,一切显示正常,但就是无法登陆NAS,研究后按下面方法解决问题。
LS-WQL 1.64固件启用SSH方法如下: 使用 java -jar acp_commander.jar -t 192.168.1.105 -ip 192.168.1.105 -pw password -s 进入shell后再进行修改(每次好像只能使用一条命令, 再次使用需退出后再进入) 修改root密码:echo -e "123456\n123456" | passwd 允许root远程登录:sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/sshd_config(sshd_config文件中 没有PermitRootLogin yes 行) 增加UsePAM行:sed -i '1a UsePAM no' /etc/sshd_config (sshd_config文件中没有 UsePAM yes 行) 重启SSH服务:/etc/init.d/sshd.sh restart |