add preview

This commit is contained in:
Quentin Manfroi 2021-04-19 13:15:16 +02:00
parent 6af95ac226
commit fc178aeb05
No known key found for this signature in database
GPG Key ID: 6FA6FD0685C0D475
2 changed files with 4 additions and 6 deletions

View File

@ -2,13 +2,9 @@
Here is motd for Claranet.
## Preparation
## Preview
Make sure you have the `PrintMotd` option set to `yes` in your sshd config.
You could also want to disable the "last login" information by configuring `PrintLastLog` to `no`.
Don't forget to restart sshd after.
![basic](examples/basic.png "basic motd")
## Installation
@ -35,3 +31,5 @@ For all other distributions you will have to add the following line to `/etc/pam
```
session optional pam_exec.so stdout /etc/update-motd.d/00-basic
```
You could also want to disable the "last login" information by configuring `PrintLastLog` to `no` in `/etc/ssh/sshd_config`.

BIN
examples/basic.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB