As a follow up to my previous question, I have decided to create the local user accounts as below.
adduser --system --no-create-home USERNAME
Now, I would like the local users to be able to access the machines using
ssh. As per my understanding,
ssh works as below.
Assuming I have 2 machines (say alpha and beta).
- From alpha machine:
- alpha's public key will be present under
~/.ssh/authorized_keysin beta machine.
- alpha's private key will be present under
/~/.sshin the alpha machine.
Now I have planned to implement no home for the users. So assuming I
adduser into beta machine without any home for any user, will I still be able to ssh into beta from alpha?