Buffalo NAS-Central Forums
http://forum.buffalo.nas-central.org/

LS400 series ROOT/SSH
http://forum.buffalo.nas-central.org/viewtopic.php?f=81&t=44471
Page 1 of 1

Author:  Antonas [ Mon Jul 10, 2017 6:41 pm ]
Post subject:  LS400 series ROOT/SSH

1. run ACP Commander v1.5.6.0 (requires installed Java)

Image

2. in field "Admin password" type password admin account Buffalo (defaullt manufaturer - password)
3. press key "Set root PW", type YOUR password for root account.
4. in field "Command" type next commands, by entering them with button "Go!":
Code:
sed -i 's/#Port 22/Port 22/g' /etc/sshd_config
sed -i 's/#Protocol 2/Protocol 2/g' /etc/sshd_config
sed -i 's/#PermitRootLogin yes/PermitRootLogin yes/g' /etc/sshd_config
sed -i 's/#StrictModes yes/StrictModes yes/g' /etc/sshd_config
sed -i 's/\/usr\/lib\/sftp-server/\/usr\/local\/libexec\/sftp-server/g' /etc/sshd_config
sed -i 's/"${SUPPORT_SFTP}" = "0"/"${SUPPORT_SFTP}" = "1"/g' /etc/init.d/sshd.sh

5. reboot NAS
6. run PuTTY
Image
7. type IP NAS, select SSH/22, press "Open"
8. login -root, password is not displayed when type
Image
*. use WinSCP, file protocol: SCP, port: 22
Image

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/