I'd like to provision some new personal accounts on the Ubuntu Linux server. I know how to create user accounts with
useradd and then how to manually set their
However is there a simple way to just create a specific user by giving its username and SSH public key? Passwords are not needed.
I know how to write a shell script for this myself, but it feels a bit overkill and I feel I am missing something in the user management, as this should be quite common task.