Allow/Deny Users On A Pi

Let's Edit The Following File:

sudo nano /etc/ssh/sshd_config

At The Bottom Of File Add Allow Or Deny Users

AllowUsers

DenyUsers 

Edit And Save