How Can Setup Mod Banner

 

What are the Best DevOps Skills?

Here are the steps to redo it if you need to do it on the new server

Generate banner using: http://www.bagill.com/ascii-sig.php
Font: Standard
Width: 80 or 60
Alignment: Left
Click Generate ASCII Signate Take a copy of it
​​SSH into the new server
Create   vi /etc/sshbanner.txt – Past the copy here
vi /etc/ssh/sshd_config
Search  for banner
uncomment  this add the banner path on it
# no default banner path
Banner  /etc/sshbanner.txt

Save file systemctl restart sshd &&   systemctl  status  sshd
logout from the current SSH session and  reconnect  using SSH and verify MOD banner should be visible with new changes