Can't access device from telnet/ssh
SNAKE OS firmware for wlxkj652, ns-k330 and NAS based on str8132 SoC
Brought to you by:
dgazineu
Originally created by: yfabrik... (code.google.com)@gmail.com
What steps will reproduce the problem?
1. Enable ssh/telnet service on the device.
2. Connect from putty (or other client). Wait for user/password prompt, input user & password and receive "Access denied" message.
I tried both 'admin' and 'root' as user name and web interface password as the password.
3.
What is the expected output? What do you see instead?
Expected - system shell, instead I get "Access denied"
What version of the product are you using? On what operating system?
Version: SNAKE OS V1.3.2 (20111007)
Host OS: Windows 7
Please provide any additional information below.
Web interface, Samba share and other services work fine.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: batori.peter (code.google.com)
I think the reason is a little bug in file /usr/share/www/cgi-bin/admin.cgi:
Incorrect code:
set_admin_password(){
...
echo root:${1} | chpasswd --md5 > /dev/null
...
}
Correct code:
set_admin_password(){
...
echo root:${1} | chpasswd -m > /dev/null
...
}
Here is a workaround: https://code.google.com/p/snake-os/issues/detail?id=213
Or use "snake" as SSH/Telnet password.
Related
Tickets: #213