Tuesday, February 20, 2018

custom ssh welcome message

create an executable script in /etc/update-motd.d/
example:

/etc/update-motd.d/50-poke

#!/bin/sh
PATH="$PATH:/usr/games:/home/ubuntu/bin"; fortune -s | pokemonsay

No comments:

Post a Comment