I own a TrueNas Core system and try to access the system via SSH and that does not work .... apart for the root user .....
I have spend many hours trying to find out why
I principle I did this:
- generate a key pairs using Bitvise SSH Client
- save them in open ssh format as <username>.pub and <username>.key
- added / copied the <username>.pub into the 'Users / Accounts / Autentication' field
- saving the <username>.key in <home>/<username>/.ssh/
- chmod 600 <home>/<username>/.ssh/<username>.key
Where copying <username>.key had to be done by root via ssh (a small crime)
It does not work .....
- the users can not login using ssh
- rsync does not work under user accounts
Long ago I decided to create the user home directory's on an NVME-SSD and the situation is like this:
- the home for root is of course /root
- the home for users is /mnt/NVME-drive/USERS/<username>
In principle the standard for users is /home/<username> ...... where /home does not exist on core .....
As a result of this weirded behavoir and a lots of headache and lost hours, I do have some verdict that it has to with the path to the user home directory's
Some feeling !! that the ssh deamon can not access the user directory's ...
Does any one has clue's / solutions !?
Note that I did
I have spend many hours trying to find out why
I principle I did this:
- generate a key pairs using Bitvise SSH Client
- save them in open ssh format as <username>.pub and <username>.key
- added / copied the <username>.pub into the 'Users / Accounts / Autentication' field
- saving the <username>.key in <home>/<username>/.ssh/
- chmod 600 <home>/<username>/.ssh/<username>.key
Where copying <username>.key had to be done by root via ssh (a small crime)
It does not work .....
- the users can not login using ssh
- rsync does not work under user accounts
Long ago I decided to create the user home directory's on an NVME-SSD and the situation is like this:
- the home for root is of course /root
- the home for users is /mnt/NVME-drive/USERS/<username>
In principle the standard for users is /home/<username> ...... where /home does not exist on core .....
As a result of this weirded behavoir and a lots of headache and lost hours, I do have some verdict that it has to with the path to the user home directory's
Some feeling !! that the ssh deamon can not access the user directory's ...
Does any one has clue's / solutions !?
Note that I did