Banner is nothing just a warning message or displays some message about the device. If you try to login remote machine, you can set some message before login the device.
Create a file under /etc directory
Type some message here in this file
Then go to /etc/ssh/sshd_config file to set this banner path.
Restart the service of ssh
Systemctl restart sshd
Now login remotely you will see this message