Buffalo Forums

Products => Storage => Topic started by: dwalter on April 17, 2011, 11:00:27 AM

Title: Cloudstor SSH Access
Post by: dwalter on April 17, 2011, 11:00:27 AM

Hello,

Title: Re: Cloudstor SSH Access
Post by: davo on April 17, 2011, 11:37:44 AM

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

Title: Re: Cloudstor SSH Access
Post by: dwalter on May 31, 2011, 09:58:48 PM

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.

Title: Re: Cloudstor SSH Access
Post by: Jotin on June 02, 2011, 08:38:39 AM

It's not something that Buffalo supports.

Title: Re: Cloudstor SSH Access
Post by: dwalter on July 24, 2012, 04:11:54 PM

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

Title: Re: Cloudstor SSH Access
Post by: axe on July 27, 2012, 09:33:12 AM

use acp_commander.jar Tool (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"

 

 

Title: Re: Cloudstor SSH Access
Post by: robra on December 29, 2012, 10:47:30 AM

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) 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 "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: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 1: index+Modifications.english (default).
Style sheets: 0: .
Hooks called: 75 (show)
Files included: 27 - 1055KB. (show)
Memory used: 733KB.
Tokens: post-login.
Queries used: 10.

[Show Queries]