来吧兄弟,一起玩一起讨论!
您需要 登录 才可以下载或查看,没有账号?注册
×
ls-xl,配的希捷2t的硬盘,全新插入未手工设置。
升级官方1.63。
完全根据标准流程进行,破解root密码,更改ssh root登陆,重启ssh后使用securecrt或putty无法登陆:
The remote system refused the connection.
请高人不吝赐教,谢谢!
以下是命令行的内容:
C:\Users\admin\Downloads>
C:\Users\admin\Downloads>java -jar acp_commander.jar -t 192.168.0.198 -ip 192.
168.0.198 -pw password -c "(echo toor;echo toor)|passwd"
ACP_commander out of the nas-central.org (linkstationwiki.net) project.
Used to send ACP-commands to Buffalo linkstation(R) LS-PRO.
WARNING: This is experimental software that might brick your linkstation!
Using random connID value = 7B30B8719216
Using target: 192.168.0.198/192.168.0.198
Starting authentication procedure...
Sending Discover packet...
Found: LS-XL9F9 (/192.168.0.198) LS-XL(SHOUTOKU) (ID=00025) mac: 4C:
E6:76:C5:89:F9 Firmware= 1.630 Key=2592E500
Trying to authenticate EnOneCmd... ACP_STATE_OK
Trying to authenticate with admin password... ACP_STATE_OK
>(echo toor;echo toor)|passwd
OK (ACP_STATE_OK)
Changeing IP: ACP_STATE_PASSWORD_ERROR
Please note, that the current support for the change of the IP is currently very
rudimentary.
The IP has been set to the given, fixed IP, however DNS and gateway have not bee
n set. Use the WebGUI to make appropriate settings.
C:\Users\admin\Downloads>java -jar acp_commander.jar -t 192.168.0.198 -ip 192.
168.0.198 -pw password -c "sed -i 's/UsePAM yes/UsePAM no/g' /etc/sshd_config"
ACP_commander out of the nas-central.org (linkstationwiki.net) project.
Used to send ACP-commands to Buffalo linkstation(R) LS-PRO.
WARNING: This is experimental software that might brick your linkstation!
Using random connID value = 262F1FCA71F3
Using target: 192.168.0.198/192.168.0.198
Starting authentication procedure...
Sending Discover packet...
Found: LS-XL9F9 (/192.168.0.198) LS-XL(SHOUTOKU) (ID=00025) mac: 4C:
E6:76:C5:89:F9 Firmware= 1.630 Key=717C3846
Trying to authenticate EnOneCmd... ACP_STATE_OK
Trying to authenticate with admin password... ACP_STATE_OK
>sed -i 's/UsePAM yes/UsePAM no/g' /etc/sshd_config
OK (ACP_STATE_OK)
Changeing IP: ACP_STATE_PASSWORD_ERROR
Please note, that the current support for the change of the IP is currently very
rudimentary.
The IP has been set to the given, fixed IP, however DNS and gateway have not bee
n set. Use the WebGUI to make appropriate settings.
C:\Users\admin\Downloads>java -jar acp_commander.jar -t 192.168.0.198 -ip 192.
168.0.198 -pw password -c "sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /
etc/sshd_config"
ACP_commander out of the nas-central.org (linkstationwiki.net) project.
Used to send ACP-commands to Buffalo linkstation(R) LS-PRO.
WARNING: This is experimental software that might brick your linkstation!
Using random connID value = 4A647EFFA996
Using target: 192.168.0.198/192.168.0.198
Starting authentication procedure...
Sending Discover packet...
Found: LS-XL9F9 (/192.168.0.198) LS-XL(SHOUTOKU) (ID=00025) mac: 4C:
E6:76:C5:89:F9 Firmware= 1.630 Key=349713D4
Trying to authenticate EnOneCmd... ACP_STATE_OK
Trying to authenticate with admin password... ACP_STATE_OK
>sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/sshd_config
OK (ACP_STATE_OK)
Changeing IP: ACP_STATE_PASSWORD_ERROR
Please note, that the current support for the change of the IP is currently very
rudimentary.
The IP has been set to the given, fixed IP, however DNS and gateway have not bee
n set. Use the WebGUI to make appropriate settings.
C:\Users\admin\Downloads>java -jar acp_commander.jar -t 192.168.0.198 -ip 192.
168.0.198 -pw password -c "/etc/init.d/sshd.sh restart"
ACP_commander out of the nas-central.org (linkstationwiki.net) project.
Used to send ACP-commands to Buffalo linkstation(R) LS-PRO.
WARNING: This is experimental software that might brick your linkstation!
Using random connID value = 4B9E0E730008
Using target: 192.168.0.198/192.168.0.198
Starting authentication procedure...
Sending Discover packet...
Found: LS-XL9F9 (/192.168.0.198) LS-XL(SHOUTOKU) (ID=00025) mac: 4C:
E6:76:C5:89:F9 Firmware= 1.630 Key=76000812
Trying to authenticate EnOneCmd... ACP_STATE_OK
Trying to authenticate with admin password... ACP_STATE_OK
>/etc/init.d/sshd.sh restart
OK (ACP_STATE_OK)
Changeing IP: ACP_STATE_PASSWORD_ERROR
Please note, that the current support for the change of the IP is currently very
rudimentary.
The IP has been set to the given, fixed IP, however DNS and gateway have not bee
n set. Use the WebGUI to make appropriate settings.
C:\Users\admin\Downloads>
|