42 lines
1.1 KiB
Markdown
Executable File
42 lines
1.1 KiB
Markdown
Executable File
# MOTD
|
|
|
|
This repository contains the my configs for MOTD forked from [yboetz](https://github.com/yboetz/motd).
|
|
|
|
It just Messange Of The Day for linux ssh and terminal.
|
|
|
|
# Requirements
|
|
* update-motd
|
|
- Needed for work all scripts
|
|
* figlet
|
|
- Needed for work displayname in module 10-display-name
|
|
* smartctl
|
|
- Needed for showing temp in module 30-hdd-temp
|
|
* docker
|
|
- Needed for working module 60-docker
|
|
* lxd
|
|
- Needed for working module 60-lxd
|
|
* ssed
|
|
- Needed for working module 70-vpn-active
|
|
|
|
|
|
# Screenshot
|
|

|
|
|
|
# Installing
|
|
1. In /etc/ssh/sshd_config need to set up string to `PrintMotd yes`
|
|
2. Install `update-motd`
|
|
3.
|
|
```
|
|
git clone https://github.com/RIKRUS/MOTD.git
|
|
cd MOTD
|
|
sudo chown root:root *
|
|
sudo cp * /etc/update-motd.d/
|
|
sudo update-motd
|
|
```
|
|
|
|
# Update 08.09.2021
|
|
* Added module for track Openvpn keys (i use easyrsa for generating keys) and active connections
|
|
|
|
# P.S.
|
|
* In folder with openvpn config (`/etc/openvpn/`) locating directory with Certifiration Autority. Some files reading directly from CA (`/etc/openvpn/ca/pki/`)
|