Skip to content

Instantly share code, notes, and snippets.

@fffonion
Last active December 20, 2018 23:26
Show Gist options
  • Save fffonion/9d02f29111dd859a4395 to your computer and use it in GitHub Desktop.
Save fffonion/9d02f29111dd859a4395 to your computer and use it in GitHub Desktop.
FBI Warning SSH banner
# vim /etc/issue.net
(paste)
:%s/\\\[033/^V/g (^V = Ctrl+V, Esc)
:wq
# vim /etc/ssh/sshd_config
:%s/#*Banner.*/Banner \/etc\/issue.net/g
:wq
# /etc/init.d/ssh reload

Re-login

\[033[1;37;41m FBI WARNING \[033[0m
Federal law provides severe civil and criminal penalties for
the unauthorized reproduction,distribution,or exhibition of
copyrighted motion prictures(Title 17,United States Code,
Sections 501 and 508).The federal bureau of Investigation
investigate allegations of criminal copyright infringement.
(Title 17,United States Code,Section 506)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment