yboetz / motd

Collection of 'message of the day' scripts
889 stars 105 forks source link

Doesnt work in debian? #14

Closed thepenguinthatwants closed 5 years ago

thepenguinthatwants commented 5 years ago

Hi!

I am wondering if this needs some dependencies? I am using debian 9.

I just added this repos file to /etc/update-motd.d/ but nothing seems to have changed.

yboetz commented 5 years ago

You have to install update-motd, I don't know if debian 9 has it in the repositories. And you also need to set the PrintMotd option to yes in your sshd config.

thepenguinthatwants commented 5 years ago

Hi!

Thanks for replying. Seems like debian has update-motd and /var/run/motd.dynamic.new has the motd in the way I want it , but for some reasons it doesnt print out when logged in.

Gonna try to check more out.