Closed Stillrainy closed 2 years ago
与OpenWrt-DIY中的问题类似
主机名 OpenWrt 主机型号 Xiaomi Redmi Router AC2100 架构 MediaTek MT7621 ver:1 eco:3 x 4 固件版本 OpenWrt R21.8.6 (2021-08-20) / LuCI Master (git-21.211.30217-03784c3) 内核版本 5.4.140 本地时间 Sun Aug 22 12:58:55 2021 使用 TTYD ,输入用户名密码后提示:
login: can't execute '/usr/bin/zsh': No such file or directory
使用 ssh 远程登录,输入用户名密码,提示无权限。即使添加了密钥也是一样。
ssh root@192.168.10.1 root@192.168.10.1's password: Permission denied, please try again. root@192.168.10.1's password:
重置一下固件应该就能解决了
以前有人也有类似的问题
不知道是怎么引起的
重置一下固件应该就能解决了
不行,重置了也没解决。还分别刷写了squashfs和ext4分区的版本,都是一样的。
Stable版?
在 2021年9月9日,上午8:54,Shuyuan Yang @.***> 写道:
重置一下固件应该就能解决了
不行,重置了也没解决。还分别刷写了squashfs和ext4分区的版本,都是一样的。
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/thomaswcy/R4S/issues/1#issuecomment-915675090, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOZOUCUVXBOMEQNYDK5OSF3UBAAWBANCNFSM5DT4MBRQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Stable版?
是的,最新08.06的stable版。
我有空把库重置一下
我搞得太垃圾了
重置完毕。用最新固件试试。
重置完毕。用最新固件试试。
问题并没有解决,仍然无法使用TTYD和SSH。看了下系统日志,有一条authpriv.warn dropbear[7418]: User 'root' has invalid shell, rejected
,似乎是root用户指定的shell有问题。而且TTYD的提示也是找不到zsh,是不是固件里没有处理好shell?
另外就是,新版的固件中移除了Bypass,这个软件结合SmartDNS在我这里表现最好,希望能重新加入固件中,谢谢。
在软件包里搜zsh重新安装就可以了。
重置完毕。用最新固件试试。
问题并没有解决,仍然无法使用TTYD和SSH。看了下系统日志,有一条
authpriv.warn dropbear[7418]: User 'root' has invalid shell, rejected
,似乎是root用户指定的shell有问题。而且TTYD的提示也是找不到zsh,是不是固件里没有处理好shell?另外就是,新版的固件中移除了Bypass,这个软件结合SmartDNS在我这里表现最好,希望能重新加入固件中,谢谢。
我很快就好重构了,大家耐心点,我还在上学。
在软件包里搜zsh重新安装就可以了。
👍
使用SSH提示密码不正确 使用TTYD连接提示
login: can't execute '/usr/bin/zsh': No such file or directory
版本
thomaswcy build 2021.08.06 @ RubikWrt R21.7.26 (2021.08.06) / LuCI Master (git-21.211.30217-03784c3)