Where does TrueNAS SCALE saves users' authorized keys?

As per subject, in TrueNAS SCALE where does the system saves the authorized keys for a certain user?

I have a system that was migrated from an old TrueNAS CORE, where the user had its own ~/.ssh/authorized_keys file.
On SCALE I initially edited the file via the web UI, but as there were moreextensive changes (the file has several lines: command=“/path/specific/command”, <public_key> ) I hoped it was possible to edit directly some file from CLI, but then I noticed that the web UI changes weren’t saved to the ~/.ssh/authorized_keys file, so perhaps it uses some other file (hopefully not from some hidden database).

It is still saved inside the .ssh/authorized_keys file of the users home directory. Are you looking inside the correct home directory for the user?

Indeed, thanks.
The cause for the misunderstanding was that this user happens to have a homedir /mnt/vol1// and I was looking at the .ssh directory one level under the right one.

Thanks again, case closed.

1 Like