Skip to content

Instantly share code, notes, and snippets.

@mikkz
Created May 21, 2019 07:43
Show Gist options
  • Save mikkz/fd73969ad6aaff03ba33d8793ece28cf to your computer and use it in GitHub Desktop.
Save mikkz/fd73969ad6aaff03ba33d8793ece28cf to your computer and use it in GitHub Desktop.
motd ~/.ssh/rc
if [ -e ~/.ssh/config ]; then
echo
echo Server List\(s\)
echo
cat ~/.ssh/config
echo
elif [ ! -f ~/.ssh/config ]; then
echo
echo No Server Access or ~/.ssh/config Not Found
echo
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment