Skip to navigation
Set a log banner to the ssh welcome screen
08.07.19
$ sudo vi /etc/ssh/sshd_config and add (or uncomment) the line Banner /etc/banner /etc/banner can be whatever file you want. Then edit /etc/banner $ sudo vi /etc/banner and put in whatever welcome message you want: . | . . . .-. | .-..-. .--.--. .-. \ \ / (.-' |( ( )| | |(.-' `' `' `--'` `-'`-' ' ' ` `--' You’ll probably need to restart sshd before your changes take effect: $ sudo /etc/init.d/ssh restart
https://www.daveperrett.com/articles/2007/03/27/change-the-ssh-login-message/
Reply
Anonymous
Information Epoch 1765577295
Save trees.
Home
Notebook
Contact us