我正在虚拟切片上运行Ubuntu x64服务器10.04,并且想要删除下面以粗体显示的行(和空白行):
$ ssh user @ server Linux jm 2.6.32.12-rscloud#26 SMP Mon May 17 12:35:34 UTC 2010 x86_64 GNU / Linux Ubuntu 10.04 LTS 欢迎来到Ubuntu! *文档:https://help.ubuntu.com/ 上次login:Mon Oct 11 04:42:07 2010 from xx.xx.xx.xx $
删除/注释/etc/pam.d/sshd的以下行:
# Print the message of the day upon successful login. session optional pam_motd.so