Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SSH error #31

Open
MaginaHou opened this issue Aug 8, 2024 · 4 comments
Open

SSH error #31

MaginaHou opened this issue Aug 8, 2024 · 4 comments

Comments

@MaginaHou
Copy link

%4062P5TR@S`7N_$DZRAU9J
I am using a Xiaomi 10 Gigabit router, and in the early stages, SSH can be enabled through this software. After opening it, I tried flashing the device a few more times. Now, when I click on 2, it will report an error as shown in the picture. Could you please help me identify where the problem lies.

@Polarisazz
Copy link

Same here

@Polarisazz
Copy link

Hey,I've found a solution.Just use telnet to access the router,enter "sed -i '/flg_ssh=nvram get ssh_en/{:loop; N; /\n.*channel=/sbin/uci get /usr/share/xiaoqiang/xiaoqiang_version.version.CHANNEL\n.*return 0\n.*fi/!b loop; d}' /etc/init.d/dropbear",enter "/etc/init.d/dropbear restar".Then you can use SSH.

@MaginaHou
Copy link
Author

Hey,I've found a solution.Just use telnet to access the router,enter "sed -i '/flg_ssh=nvram get ssh_en/{:loop; N; /\n.*channel=/sbin/uci get /usr/share/xiaoqiang/xiaoqiang_version.version.CHANNEL\n.*return 0\n.*fi/!b loop; d}' /etc/init.d/dropbear",enter "/etc/init.d/dropbear restar".Then you can use SSH.

Thx. I will try it.

@lan493
Copy link

lan493 commented Nov 10, 2024

Hey,I've found a solution.Just use telnet to access the router,enter "sed -i '/flg_ssh=nvram get ssh_en/{:loop; N; /\n.*channel=/sbin/uci get /usr/share/xiaoqiang/xiaoqiang_version.version.CHANNEL\n.*return 0\n.*fi/!b loop; d}' /etc/init.d/dropbear",enter "/etc/init.d/dropbear restar".Then you can use SSH.
不对啊老哥,telnet命令之后没有作用,还是你哪里打错了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants