AdSense
Friday, September 1, 2017
8 - Linux Security: SSH Banner and Message Of The Day
SSH BANNER AND MESSAGE OF THE DAY
- Layout for this exercise:
- sshd_config is the file where SSH configuration is stored.
- The banner displayed when connecting via SSH service is located at /etc/issue.net:
- To display a message of the day (motd) the entry PrintMotd must be enabled to yes:
- Editing /etc/issue.net the default message showing the Linux version can be personalized:
- To personalize the message of the day just edit /etc/motd:
- Replacing the default message:
- Restarting SSH:
- Checking the IP:
- Accessing from a Windows machine with Putty:
- Banner:
- Message Of The Day:
- Accessing from a Linux Kali machine the banner is displayed:
- Also the Message Of The Day is displayed:
Labels:
LINUX SECURITY