Linux修改SSH登录欢迎语

经验分享  2019-12-18 09:53   9285 linux ssh

我们登录阿里云的时候都有一句欢迎语

Welcome to Alibaba Cloud Elastic Compute Service !

我们也设置一个自己的专属欢迎语吧!

linux的欢迎语存放在/etc/issue 和 /etc/motd两个文本文件当中

/etc/issue存放的是linux登录前的提示语

/etc/motd存放的是linux登录后的提示语


直接编辑即可

用法示例:

$ vim /etc/motd

blob.png


xshell出现WARNING!The remote SSH server rejected X11 forwarding request


注:转载请注明出处为http://www.www.xtaike.com/article/116.html。

沙豆网 站长

追求卓越,奋斗不息!

167
文章
8814
点赞

更多文章