Today I was able to solve this one problem that was driving me nuts for the past 3 days. Connecting to freenas with ssh using ssh keys.
I am trying to setup a backup system, where a web server can backup to freenas through the network. For some reason ssh was not able to login in to my freenas server, after doing lots of search I came up with this page:
Basically the permissions are wrong in freenas, run the following commands and it will set the correct permissions to be able to login.
chmod go-w ~/ chmod 700 ~/.ssh chmod 600 ~/.ssh/authorized_keys
After this change, the connection goes through as spectated