操作系統: Ubuntu
不同 distributions 指令會有些微差異
- 安裝
landscape-common
套件
$ sudo apt-get install landscape-common
- 建立捷徑
$ ls -n /usr/share/landscape/landscape-sysinfo.wrapper /etc/update-motd.d/
- 測試
$ sudo run-parts /etc/update-motd.d/
- ASCII art for Motd
http://patorjk.com/software/taag/#p=display&f=Graffiti&t=Type%20Something%20
██╗ ██████╗ ██╗ ██╗███╗ ██╗███╗ ██╗██╗ ██╗
██║██╔═══██╗██║ ██║████╗ ██║████╗ ██║╚██╗ ██╔╝
██║██║ ██║███████║██╔██╗ ██║██╔██╗ ██║ ╚████╔╝
██ ██║██║ ██║██╔══██║██║╚██╗██║██║╚██╗██║ ╚██╔╝
╚█████╔╝╚██████╔╝██║ ██║██║ ╚████║██║ ╚████║ ██║
╚════╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═══╝ ╚═╝
Font Name: ANSI Shadow
88888 dP"Yb 88 88 88b 88 88b 88 Yb dP
88 dP Yb 88 88 88Yb88 88Yb88 YbdP
o. 88 Yb dP 888888 88 Y88 88 Y88 8P
"bodP' YbodP 88 88 88 Y8 88 Y8 dP
Font Name: 4Max
MMMMMMMM""M dP
MMMMMMMM M 88
MMMMMMMM M .d8888b. 88d888b. 88d888b. 88d888b. dP dP
MMMMMMMM M 88' `88 88' `88 88' `88 88' `88 88 88
M. `MMM' .M 88. .88 88 88 88 88 88 88 88. .88
MM. .MM `88888P' dP dP dP dP dP dP `8888P88
MMMMMMMMMMM .88
d8888P
Font Name: Nancyj-Fancy
___
( / /
/ __ /_ _ _ _ _ __ ,
_/_(_)/ /_/ / /_/ / /_/ (_/_
// /
(/ '
Font Name: Santa Clara
Referance:
https://askubuntu.com/questions/100052/modify-the-ssh-welcome-message-to-include-system-ip-address