Disable ssh login for an account.
Disable account login without disabling the account
usermod --expiredate 1 [LOGIN]
Will let sudoers login to the account linke this:
sudo su - [LOGIN]
usermod --expiredate 1 [LOGIN]
Will let sudoers login to the account linke this:
sudo su - [LOGIN]