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/motd
echo "" > /etc/issue
echo "" > /etc/issue.net
- 方法2:
sed -i '1,2d' > /etc/motd
sed -i '1,2d' > /etc/issue
sed -i '1,2d' > /etc/issue.net
文章来源:https://www.toymoban.com/news/detail-614354.html
你学废了么?文章来源地址https://www.toymoban.com/news/detail-614354.html
到了这里,关于ssh 登录报 Authorized users only. All activities may be monitored and reported.的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!