23 December, 2012 #Technology

Linkstation enable ssh – LS-X1.0TLJ

  • RB

How to enable SSH on Linkstation LS-X1.0TLJ

1/ Download acp_commander.jar ( google around to find the JAR)
2/ Assuming the IP on your linkstation is you have to run the following commands
3/ _ADMIN_PASSWORD_ is same password that you user on linkstation HTTP/HTTPS URL with admin id.
4/ _ROOT_PASSWORD_ provide a new root password


java -jar acp_commander.jar -t -ip -pw _ADMIN_PASSWORD_ -c “ls /”
java -jar acp_commander.jar -t -ip -pw _ADMIN_PASSWORD_ -c “(echo _ROOT_PASSWORD_;echo _ROOT_PASSWORD_)|passwd”
java -jar acp_commander.jar -t -ip -pw _ADMIN_PASSWORD_ -c “sed -i ‘s/UsePAM yes/UsePAM no/g’ /etc/sshd_config”
java -jar acp_commander.jar -t -ip -pw _ADMIN_PASSWORD_ -c “sed -i ‘s/PermitRootLogin no/PermitRootLogin yes/g’ /etc/sshd_config”
java -jar acp_commander.jar -t -ip -pw _ADMIN_PASSWORD_ -c “/etc/init.d/sshd.sh restart”

0 Comments on Linkstation enable ssh – LS-X1.0TLJ

Leave a Comment

Your email address will not be published. Required fields are marked *

You Might Be Interested In