I am trying to open my LinkStation™ Pro Duo LS-WVL, LS-WVL015 to install a headless backup service (Crashplan) but am stuck.
* LinkStation™ Pro Duo LS-WVL, LS-WVL015 (KOUGYOKU), Kirkwood
* IP address: 192.168.1.6
* firmware version: 1.62
* configured as RAID1
Here's what I've done so far:
1) Opened the Linkstation & reset password (Following this guide: http://buffalo.nas-central.org/index.ph ... k_Firmware
2) Installed addons (downloaded from http://downloads.buffalo.nas-central.or ... addons.tar
, then executed
java -jar acp_commander.jar -t <IP ADDRESS> -addons
3) Now I can connect with
java -jar acp_commander.jar -t 192.168.1.6 -ip 192.168.1.6 -pw password -s
but not with
4) Following this guide: http://buffalo.nas-central.org/wiki/Ope ... ware_LS-VL
I did this:
* created public/private SSH key pair using PuttyGen.exe
* created a copy of the public key and rename it to authorized_keys (no extension)
* Put authorized_keys into the share "share"
* created a new file called open-ls.txt in the share "share"
* pasted the following lines into it:
# open-ls.txt -- This script will be executed on the LS
# DIR is where we are
DIR=$( cd $(dirname $0) ; pwd)
# Create the directory for the ssh keys and copy the pubkey there
chmod 700 /root/.ssh
cp $DIR/authorized_keys /root/.ssh/
chmod 600 /root/.ssh/authorized_keys
# Required if 'authorized_keys' have een written on a Windows PC
### Enable root login for SSH
# Backup sshd_config
cp -p /etc/sshd_config /etc/sshd_config.orig
# Replace all "PermitRootLogin no" by "PermitRootLogin yes"
sed -i '/PermitRootLogin/s/no/yes/' /etc/sshd_config
chmod 600 /etc/sshd_config
grep PermitRootLogin /etc/sshd_config
# Last we restart the sshd.
The result is that I do have a file .ssh in folder root, but something's wrong with the permissions and it doesn't execute.
The entry is as follows:
/rwx------ 2 root root 4096 Oct 25 2013 .ssh
Note the slash at the beginning. I am unable to delete that file and try again.
Doing a "rm root/.ssh" is acknowledged with "OK (ACP_STATE_OK)", but when I list the directory again the file is still there.
Also, I can only do one command after logging in (item 3 above). After that the prompt changes from "/root>" to just ">".
Are you able to help me with either of these problems? Thank you!