Results 1 to 2 of 2
Thread: MOTD Help
Enjoy an ad free experience by logging in. Not a member yet? Register.
I'm reasonably new to Gentoo myself, although I must say I'm liking it. Anyway, what I want to know is.. When I write my motd to /etc/motd, it comes up obviously when logged into. But when there's no motd file, you get a message saying eg. Last login date by hostname (ip) blah blah. How can I make it so that the last login bit and my motd come up when SSH is accessed.
Thanks in advance,
- Join Date
- Aug 2007
In /etc/ssh/sshd_config add PrintLastlog Yes, but this shouln't be necesary because it should be on by default. The same holds true for the motd, PrintMotd yes enables printing the motd, but this also is on by default.