I'm having an issue getting ssh keys setup so I can ssh to my TrueNAS server without a password from my local machine. It currently works perfectly if I ssh using the root user. If I attempt to use the user I was originally attempting to setup I receive the following error in /var/log/auth.log:
Authentication refused: bad ownership or modes for directory /mnt/HDD/Media
This directory is owned by my user (and all directories below it). The public key exists within the user GUI and (apparently) exists under: /mnt/HDD/Media/.ssh/authorized_keys.
I'm a bit stuck at this point so hoping someone may have experienced this or have any advice. Thanks!
Authentication refused: bad ownership or modes for directory /mnt/HDD/Media
This directory is owned by my user (and all directories below it). The public key exists within the user GUI and (apparently) exists under: /mnt/HDD/Media/.ssh/authorized_keys.
I'm a bit stuck at this point so hoping someone may have experienced this or have any advice. Thanks!