I want to create a user to auto-login without a password. However, I don't want someone to be able to SSH as that user since the user will not have a password. How can I create a user without a password and no SSH access? I am running Raspbian.
1 Answer
Create the user like normal and setup the auto login how you want it,
Then add the user to DenyUsers in /etc/ssh/sshd_config
e.g.
DenyUser autologinuser
Restart ssh after you update the config file.
Reference : http://linux.die.net/man/5/sshd_config