I just heard of TrueNAS for the first time in my life... So, checked google images.. there is some similarity for sure.
It detects the server OS "after SSH authentication" by running a small POSIX-shell probe.
It will not automatically expose "all information". It can access only what the SSH account can access.