Display message to local client - before login /etc/issue
********************************* * Ccompany ltd. * ********************************* * - Authorized access only! * * - Activity is recorded * *********************************
Display message to ssh client - before login /etc/issue.net
Banner /etc/issue.net
********************************* * Ccompany ltd. * ********************************* * - Authorized access only! * * - Activity is recorded * *********************************
Execute script after successful login (displaying messages via ECHO)
#!/bin/bash alias ll='ls -ahls --color=auto' BLACK="\033[0;30m" RED="\033[0;31m" GREEN="\033[0;32m" ORANGE="\033[0;33m" BLUE="\033[0;34m" PURPLE="\033[0;35m" CYAN="\033[0;36m" LIGHTGRAY="\033[0;37m" DARKGRAY="\033[1;30m" LIGHTRED="\033[1;31m" LIGHTGREEN="\033[1;32m" YELLOW="\033[1;33m" LIGHTBLUE="\033[1;34m" LIGHTPUTPLE="\033[1;35m" LIGHTCYAN="\033[1;36m" WHITE="\033[1;37m" NC="\033[0m" BOLD="\033[1mBold" DIM="\033[2mDim" UN