I am going to write this because i didn't found it anywhere so i thought like i spent a lot time to get this far away maybe it can help other like me to get everything is one place to get solution for their locked SSH LKETC miners as everyone know LKETC is selling miners but they are not giving access to ssh root so i started to find a solution and now i will teach you how to do that.
Before starting remember i am not here to give you support or i am not related to any company i am just a user who was looking for a solution. I am not responsible for any damages.
Special Thanks to cryptoceelo for this thread which helped me a lot.
https://bitcointalk.org/index.php?topic=640717.0
With this method you can change index file and can get access to SSH because LKETC do not allow us to change index file whenever you will change it index file will get reset to the default text which was before from LKETC and they also not allow you to get into SSH to see what is going on with your miner.
[REQUIREMENTS]1: OS (English Version) (Download from links below)
2: Win32DiskImager (to write downloaded OS on memory card)
3: Desktop with card reader / Laptop with card reader
4: Screw driver
5: Brain
[TUTORIAL]Start downloading OS from link below (Remember it is english version but it includes chinese files also depends on your requirments which one you like to run)
https://mega.co.nz/#!CYthjDBC!Evwxx5QFFgMzsO5xgJ8aKN6xCPf1MnNySmoLRDBzwzM
Download Win32DiskImager
http://sourceforge.net/projects/win32diskimager/
While it is downloading open all screws from your miner and take our memory card carefully. Put your memory card into card reader or in your built-in card reader of your machine which ever you have and format the memory card.
Extract dragonboot-4BLADE-ENG.img file to your desktop and open Win32DiskImager
Remember while i was doing this when first time i downloaded and installed Win32DiskImager i was unable to run it on my Windows 8.1 (64bit) laptop so if it happens to you then don't worry just follow these steps if you will also get any error after installing Win32DiskImager
Right click on WIn32DiskImager icon after installing it and go to properties and then click on Compatibility tab in compatibility mode check it and select Windows XP (Service Pack 3) from drop down menu and apply the changes now you will be able to run Win32DiskImages.
after opening Win32DiskImager select your extracted img file and select your memory card in device option on write side of Win32DiskImager Click Write and it will start burning that image to your memory card when it is finished just take out your memory card from card reader slot and put it back into your miner from where you got it out from and screw your miner like you opened it before turn it on and plugin your network cable in it.
Now you are ready to access your miner through SSH.
Get back to your laptop which is connected through the same network
Download Putty
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Open putty and type your miner ip
Default ip for fresh installed miner 192.168.1.134
it will give you options window just select Accept and save and then it will ask your for login
Username: pi
Password: raspberry
After logging in type this command
sudo passwd
enter your password twice carefully (if your forgot your password you will have to do the whole process from start)
Now type this command
su root
it will ask you for password just type the password you just entered in previous command
now you are in root and you have full access to your miner.
When i was doing this cryptoceelo mentioned that if we change the index file text or anything through SSH it will restore that index file as he was also not able to find out how is it coming from so as cryptoceelo mentioned in his thread i tried to do that which is edit default index file name in lighthttpd.conf so now i am also going to tell you that.
after logging in to your miner's SSH root type this command
nano /etc/lighttpd/lighttpd.conf
Find
index-file.names = ( "index.php", "index.html", "index.lighttpd.html" )
Change to
index-file.names = ( "default.php", "default.html", "index.lighttpd.html" )
to close nano editor press ctrl+x and save the conf file
type this command to reboot your minner
reboot
after rebooting your miner open your miner on webpage and you will get a 404 error now login back to your SSH root and type these commands
cd /var/www
mv index.php default.php
refresh your browser and your miner web interface will be working again
now type this command
nano default.php
now you can change text logo anything on your miner's web interface save it after making changes using ctrl+x and your are good to go
I hope this tutorial will help someone but i would like to thanks to all of you for this awsome community.
Note:- if there is anything missing please let me know and All copyrights are reserved by the developers and programmers i am just teaching the method.
Don't forget to view other tutorial to protect your miner webpage access
https://bitcointalk.org/index.php?topic=650114.0