您可以/etc/ssh/sshd_config
在服务器上编辑该文件并取消注释或添加以下行:
PrintMotd yes
Run Code Online (Sandbox Code Playgroud)
然后使用 重新启动 SSH sudo service ssh restart
。
小智 0
必须启用 Pam 才能显示 MOTD。
请参阅以下链接上的帖子#17-20。 https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/543767
归档时间: |
|
查看次数: |
845 次 |
最近记录: |