Hello,
I have a requirement to create a user, with SSH access, that will be used for vulnerability scanning. I've added a user and set a password (commands below) but unable to login via SSH. I've done a lot searching and sshd_config, PAM, etc and coming up blank.
useradd -c "Vulnerability Scan account" -s /bin/bash -u NNN -md /home/<user_account_name> <user_account_name>
passwd <user_account_name>
What are the steps for creating a user with SSH access?
Thank you