Site Tools


linux:ubuntu:odd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
linux:ubuntu:odd [2021-03-21]
dcai
linux:ubuntu:odd [2021-03-21] (current)
dcai
Line 19: Line 19:
  
 === disable motd for ssh === === disable motd for ssh ===
-/etc/pam.d/sshd: remove the lines with motd +  * /etc/pam.d/sshd: remove the lines with motd 
-/etc/ssh/sshd_config: PrintMotd should be no, I think this only makes sense when pam is disabled +  /etc/ssh/sshd_config: PrintMotd should be no, I think this only makes sense when pam is disabled 
-/etc/update-motd.d: this has scripts to generate motd+  /etc/update-motd.d: this has scripts to generate motd 
 +  * PrintLastLog no in sshd_config: disable last login message
linux/ubuntu/odd.txt · Last modified: 2021-03-21 by dcai