Install libpam-sshauth by entering the following commands in the terminal:
sudo apt update sudo apt install libpam-sshauth
authenticate using an SSH server
This package provides a simple PAM authentication mechanism using a remote SSH server. If the user is able to ssh to the server configured with libpam-sshauth, they're granted local access.