57
nokkur
7y

Setting my ssh banner to an instance of cowsay speaking the navy seal copypasta is one of my best ideas yet

Comments
  • 3
    Oh dear.. a cow trained in gOrilla warfare.
  • 4
    Your terminal has UTF-8 issues... Sorry, can't help but notice this.
  • 1
    Please tell me how I can deploy that to my server so that I change my SSH port back to Port 22 and see the reaction of decreased tries
  • 1
    @inpothet step 0: install cowsay

    step 1: using a text file with the copypasta, issue a command like this to save the output to a file:

    $ cat navyseal.txt | cowsay > banner.txt

    step 2: in your ssh config (/etc/ssh/sshd_config), uncomment the Banner line and specify the banner.txt file path, restart your ssh daemon, and you're set 👍
  • 0
  • 0
    @nokkur ty where did you find that one :D
Add Comment