Pre-Logon message:
1. System-level settings (this information is not displayed when the remote SSH connection is used)
Before entering the user name in the login system, you can see the Welcome ... Information, this will show the LINUX distribution name, kernel version number, date, machine information and so on, to set up, first open the/etc/issue file, you can see that there is a section of the "Welcome to <linux release version name >- Kernel followed by the parameters \ "
Description of the following parameters:
\ r Displays the kernel kernel version number;
\l Display Virtual Console number;
\d display the current date;
\ nthe host name is displayed;
\m display machine type, i.e. CPU architecture, such as i386, etc.;
Understand the meaning of the parameters, to modify, the above section of the Welcome information is modified as follows, you can display all the necessary information:
Welcome to <linux release version name >-kernel \ r (\l) \d \ n \m.
2. SSH settings
Vi/etc/ssh/sshd_config add
Banner/etc/ssh/ssh_login_banner
Write the greeting or message to/etc/ssh/ssh_login_banner (centos6.4), which is simple.
Post-logon prompt message:
Edit/ETC/MOTD This file, add any welcome information you like, this message will be displayed after successful login!
Custom Linux Terminal/ssh welcome information before and after login