NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
wagb4
Sep 11, 2014Aspirant
SSH Connect to NAS
Using a ReadyNAS model 102 with firmware version 6.1.8. I enabled SSH service but cannot mount a share using "sshfs". Has anyone been able to mount a share using SSH, and if so how do you do it? ...
wagb4
Sep 26, 2014Aspirant
Well I don't believe it - changing the admin password (to what I thouhgt it was already) worked. I can ssh in to the NAS as user root and execute commands.
I tried ssh as another user and it kicks me out - so I guess that is saying only root can ssh into the NAS, as someone implied.
I altered my rsync command to use root as the user and it worked!
I'm still a little confused about how to refer to locations on the NAS, in rsync destination paths, but I'll figure that out. I guess the /data (volume) is needed and the share name (Backup in my case) Backup is the only share with Rsync set active. But my rsync command created a subdirectory inside a directory that was already there by the same name instead of putting the files in the existing directory. I probably told Rsync to do that.
So thanks, this gets me going in the right direction.
I tried ssh as another user and it kicks me out - so I guess that is saying only root can ssh into the NAS, as someone implied.
I altered my rsync command to use root as the user and it worked!
I'm still a little confused about how to refer to locations on the NAS, in rsync destination paths, but I'll figure that out. I guess the /data (volume) is needed and the share name (Backup in my case) Backup is the only share with Rsync set active. But my rsync command created a subdirectory inside a directory that was already there by the same name instead of putting the files in the existing directory. I probably told Rsync to do that.
jim@WS-2 ~/Desktop $ ssh root@192.168.0.215
root@192.168.0.215's password:
Welcome to ReadyNASOS 6.1.9
root@spar:~# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
daemon:x:1:1:daemon:/usr/sbin:/bin/sh
bin:x:2:2:bin:/bin:/bin/sh
sys:x:3:3:sys:/dev:/bin/sh
< removed lines >
root@spar:~# logout
Connection to 192.168.0.215 closed.
jim@WS-2 ~/Desktop $ ssh jim@192.168.0.215
jim@192.168.0.215's password:
Welcome to ReadyNASOS 6.1.9
Connection to 192.168.0.215 closed.
jim@WS-2 ~/Desktop $ rsync -h --progress --stats -r -tgo -p -l -D --update --delete-after /home/jim/TestFiles root@192.168.0.215:/data/Backup/TestFiles
root@192.168.0.215's password:
building file list ...
40 files to consider
TestFiles/
< removed lines >
Number of files: 40
Number of files transferred: 35
Total file size: 14.20M bytes
Total transferred file size: 14.20M bytes
Literal data: 14.20M bytes
Matched data: 0 bytes
File list size: 1.58K
File list generation time: 0.035 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 14.21M
Total bytes received: 692
sent 14.21M bytes received 692 bytes 1.50M bytes/sec
total size is 14.20M speedup is 1.00
jim@WS-2 ~/Desktop $
So thanks, this gets me going in the right direction.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!