ssh 登录报 Authorized users only. All activities may be monitored and reported.
解决:
修改 /etc/motd
文件,清空内容
修改以后,登录不报 Authorized users only. All activities may be monitored and reported.
update 2023-12-04 12:35
如果还不行就干掉 以下两个文件的内容
/etc/issue
/etc/issue.net
总结下最全方法:
方法1:echo "" > /etc/motdecho "" > /etc/issueecho "" > /etc/issue.net
方法2: sed -i '1,2d' > /etc/motdsed -i '1,2d' > /etc/issuesed -i '1,2d' > /etc/issue.net
你学废了么?