How to show a banner explaining terms of use for an SSH connection before login.

It is very simple to show a banner to your users, that explains the terms of use for an SSH connection upon the user reaching a login prompt. Firstly, create a file named info in the /etc/ssh directory. sudo touch /etc/ssh/infosudo touch /etc/ssh/info Then put this in it. *************************************************************************** NOTICE TO USERS     This … Read more