News:

RAID is not a replacement for a backup! Here's why.

Main Menu

Cloudstor SSH Access

Started by dwalter, April 17, 2011, 11:00:27 AM

Previous topic - Next topic

davo

hello, this is not possible as far as im aware. /root is closed to the user.

PM me for TFTP / Boot Images / Recovery files  LSRecovery.exe file.
Having network issues? Drop me an email: info@interwebsireland.com and we will get it fixed!

Have i helped you? Buy me a coffee as a thanks!
https://buymeacoffee.com/buffalodavo

dwalter

Hello.  Somehow the contents of my original posting got deleted.  I would still like to gain SSH access to my Cloudstor device.  This seems to be possible with regular PogoPlug devices; why not the Cloudstor?  It appears to be just a matter of Buffalo making the username/password available to its users.  

 

Thank you.


Jotin

It's not something that Buffalo supports.


dwalter

Has anyone been able to gain SSH root access to their Cloudstor device yet?  Somehow the permissions of one of the files is set incorrectly.  This is preventing me from deleting the file and all of its parent directories.  If I could log in as root, I'm quite sure that I could very quickly solve this problem.  Otherwise, I don't know of any solution except copying everything off, resetting the device and copying everything back on.  any help would be appreciated.

 

Thanks

 

David


axe

use acp_commander.jar Tool (http://www.nas-hilfe.de/downloadbereich/category/1-tools)" target="_blank">http://www.nas-hilfe.de/downloadbereich/category/1-tools) then do the following:

 

java -jar acp_commander.jar -t  your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "(echo newrootpassword;echo newrootpassword)|passwd"

java -jar acp_commander.jar -t  your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "sed -i 's/UsePAM yes/UsePAM no/g' /etc/sshd_config"

java -jar acp_commander.jar -t  your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/sshd_config"

java -jar acp_commander.jar -t  your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "/etc/init.d/sshd.sh restart"

 

 


robra

On my device I needed one more command to enable SSH. The full set I used is:

 

use acp_commander.jar Tool (http://www.nas-hilfe.de/downloadbereich/category/1-tools)" target="_blank" rel="nofollow">http://www.nas-hilfe.de/downloadbereich/category/1-toolsthen do the following:

 

java -jar acp_commander.jar -t  your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "(echo newrootpassword;echo newrootpassword)|passwd"

java -jar acp_commander.jar -t  your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "sed -i 's/UsePAM yes/UsePAM no/g' /etc/sshd_config"

java -jar acp_commander.jar -t  your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "sed -i 's/PermitRootLogin no/PermitRootLogin yes/g' /etc/sshd_config"

 

java -jar acp_commander.jar -t  your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "sed -i 's/SUPPORT_SFTP=0/SUPPORT_SFTP=1/g' /etc/nas_feature"

 

java -jar acp_commander.jar -t  your_ls_ip -ip your_ls_ip -pw deviceadminpassword -c "/etc/init.d/sshd.sh restart"

 


Browser ID: smf (is_webkit)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 5: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default), StopForumSpam.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 242 (show)
Files included: 35 - 1354KB. (show)
Memory used: 1065KB.
Tokens: post-login.
Queries used: 20.

[Show Queries]