Skip to content

Instantly share code, notes, and snippets.

@jenkek
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jenkek/197a67768905dbaa2191 to your computer and use it in GitHub Desktop.
Save jenkek/197a67768905dbaa2191 to your computer and use it in GitHub Desktop.
motd shows outdated information on ubuntu
# vi /etc/pam.d/sshd
Code:
session optional pam_motd.so motd=/run/motd.dynamic noupdate
Remove "noupdate"
Code:
session optional pam_motd.so motd=/run/motd.dynamic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment