首先 /etc/ssh/sshd_conf配置文件里面PrintMotd 参数不能是no /etc/issue #登陆前提示 /etc/motd #登陆后提示 ssh还能够修改/etc/ssh/sshd_config里Banner项所指示的文件