How to allow user for ssh.

Add this line in file : /etc/pam.d/sshd

auth required pam_listfile.so item=user sense=allow \ file=/etc/ssh/ssh_users_allowed onerr=fail

Add user system on file : /etc/ssh/ssh_users_allowd

aoddy

OK, it’s complete.

Comments

comments