CentOS 命令行登录欢迎词

1、修改/ect/motd文件即可如:

1
2
3
4
5
6
7
8
9
10
11
12
yusiandeMacBook-Pro:~ yusian$ ssh [email protected]
[email protected]'s password: 
Last login: Mon Jul 28 13:57:59 2014 from 112.216.117.130
###################################################################
#                                                                 #
#                     Welcome to Crayfish                         # 
#                                                                 #
#        All connections are monitored and recorded               #
#  Disconnect IMMEDIATELY if you are not an authorized user!      #
#                                                                 #
###################################################################
[root@Crayfish ~]#

2、OpenWRT中则修改/etc/banner文件

One thought on “CentOS 命令行登录欢迎词

  1. Pingback: CentOS SSH登录增加欢迎页(Banner) | 小龙虾博客 (Crayfish)

Leave a Reply