NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
LrdShaper
Jun 04, 2008Aspirant
Securely access your Bittorent Client from anywhere
This tip attempts to give a step by step guide to access your Bittorent client securely from anywhere (internet connection is a must of course)    As with my previous guides this assumes that:  1) You...
LrdShaper
Jun 09, 2008Aspirant
ric3125 wrote: No I cant use the private keys. I can still log in with a password. I never closed my first putty session. So I changed PasswordAuthentication back when it did not work. 
You're using the root id right? Can you do a pwd from the .ssh directory where you created the authorized_keys file?
The root id needs to have it's own home directory (i.e. /root). There are only 2 other things I can think of that may cause the ReadyNAS to refuse your private keys:
1) The root id has a home directory in / instead of /root and you created the .ssh directory in /
If this is the case you have to edit your /etc/passwd file to change root's home directory. It's the 2nd to the last field
root:*******:0:0:root:/root:/bin/bash
Change it to /root like in the example above then save it. Create the /root directory and move the .ssh directory to /root
root@Matthew~# mkdir /root
root@Matthew~# mv .ssh /root
Then try to log in with your private keys again
OR
2) The root id has it's own home directory (i.e. root) but is writable by other users. Make sure /root is writable only by the root id (chmod 700 or chmod 755)
root@Matthew/# ls -ld /root
drwx------ 5 root root 4096 May 30 01:11 /root
root@Matthew/#
Let me know how it goes and I'll try to reply back to you ASAP. Cheers!
Related Content
NETGEAR Academy
 Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 
Join Us!