Code:
[root@poweredge] ~# getfacl -d .ssh
getfacl: .ssh: there are no default entries in NFSv4 ACLs
**Scratches Head*** Hmmm... That's what I get too
So, starting from scratch again and
rm -rf ~/.ssh
and readding the public key through the Freenas Webgui for my account to satisfy the "why aren't you doing it from gui" and those that don't quite know about SSH Protocol 2. After that, shutdown the SSH service via webgui and adding in
in the "Extra Options" section of the service. Because apparently, Freenas overwrites anything you put in /etc/ssh/sshd_config via command line. As per /etc/syslog.conf, the output would be sent to /var/log/debug.log. "Normally" it would be sent to /var/log/auth.log, /var/log/messages, or /var/log/secure. After attempting to login via SSH key I get the output of the attached file. In that bunch of yada yada yada and blah blah following lines of significance as follows:
Sep 2 02:24:53 abyss sshd[12376]: debug3: mm_answer_keyallowed: key 0x8040165c0 is not allowed
Sep 2 02:24:53 abyss sshd[12376]: debug3: mm_request_send entering: type 23
Sep 2 02:24:53 abyss sshd[12376]: debug1: trying public key file /mnt/MAIN/HOME/binary/.ssh/authorized_keys
Sep 2 02:24:53 abyss sshd[12376]: debug1: fd 4 clearing O_NONBLOCK
Sep 2 02:24:53 abyss sshd[12376]: debug1: trying public key file /mnt/MAIN/HOME/binary/.ssh/authorized_keys2
Sep 2 02:24:53 abyss sshd[12376]: debug1: Could not open authorized keys '/mnt/MAIN/HOME/binary/.ssh/authorized_keys2': No such file or directory
Sep 2 02:24:53 abyss sshd[12376]: debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa [preauth]
Sep 2 02:24:53 abyss sshd[12376]: debug3: userauth_finish: failure partial=0 next methods="publickey,password" [preauth]
Possibility of SSHD not reading it due to permissions. Attempted to
chmod -R 600 ~/.ssh
and I get "chmod: .ssh/authorized_keys: Operation not permitted". Which I believe is NFSv4 ACLs being a boinker. However, if I modify the NFSv4 ACLs to what Mr. Trevellyan has my user account can no longer access to the .ssh directory.
... WTF Over...