WD Community

Does PR4100 support SFTP? Does it good model?

Good day.
I’m considering buying a WD PR4100 NAS box, but I have several questions:

So my question - is everything OK with this model? I’ d like to know owner’ s option about this NAS.

Thanks in advance.

A. Yes SFTP works, but only for root user.
B. 4600 degree dude puts unsupported disks in enclosure… firmware doesn’t like it. Dude is unhappy.
The other guy never answered so probably all is fine now.

Good day.
many thanks for provided answers.

Does it mean that it will be no way to create remote access for non-root users and with read-only permissions?

Best regards,
Yuri.

It is not officially supported to do this over SFTP… you’d need to stick to the MyCloud functions here.

But you could (at your own risk) edit the SSH daemon config to look like this

nano /etc/ssh/sshd_config
Port 22
Protocol 2
HostKey /etc/ssh/ssh_host_rsa_key
SyslogFacility AUTHPRIV
# you need to decide wether you want root/sshd here
AllowUsers admin userA userB
PermitRootLogin no
PubkeyAuthentication yes
PasswordAuthentication yes
ChallengeResponseAuthentication no
TCPKeepAlive yes
# remove deprecated stuff
#PubkeyAcceptedKeyTypes +ssh-dss
#HostKeyAlgorithms +ssh-dss
#Ciphers +blowfish-cbc
MaxAuthTries 5
Subsystem sftp /usr/bin/sftp-server

Then reload the ssh config

kill -HUP $(pidof sshd)

You’ll get kicked out of the session. Reconnect and you new config is active.
You can now login as admin, userA or userB.

1 Like

Thanks a lot.

Regards,
Yuri.

Support for Western Digital Hard Drives | Western Digital

Still Need Help?

Reach out to Support for more assistance.

Sign in to Your Support Account

Get up-to-date information about your products.

Western Digital Business Portal

Unlock benefits and tools for your business such as enterprise support, pricing and rebate tools, marketing, loyalty, rewards, and more.