1、参数修改:
/etc/ssh/sshd_config 问价里边的 printlastlog 设置为yes
/etc/ssh/sshd_config 问价里边的 printmotd 设置为yes
2、添加lastlog日子文件
/var/log/文件夹里边添加 lastlog文件。
3、添加登录欢迎语句
/etc/motd 文件中添加登录欢迎语句
1、参数修改:/etc/ssh/sshd_config 问价里边的 printlastlog 设置为yes/etc/ssh/sshd_config 问价里边的 printmotd 设置为yes2、添加lastlog日子文件/var/log/文件夹里边添加 lastlog文件。3、添加登录欢迎语句/etc/motd 文件中添加登录欢迎语句转载于:http...
1、参数修改:
/etc/ssh/sshd_config 问价里边的 printlastlog 设置为yes
/etc/ssh/sshd_config 问价里边的 printmotd 设置为yes
2、添加lastlog日子文件
/var/log/文件夹里边添加 lastlog文件。
3、添加登录欢迎语句
/etc/motd 文件中添加登录欢迎语句
转载于:https://www.cnblogs.com/handongyu/p/5996918.html
更多推荐
所有评论(0)