Skip to content

Instantly share code, notes, and snippets.

@josephabrahams
Created January 9, 2015 03:25
Show Gist options
  • Save josephabrahams/e722bea5b331a26f3db3 to your computer and use it in GitHub Desktop.
Save josephabrahams/e722bea5b331a26f3db3 to your computer and use it in GitHub Desktop.
Block root SSH access
no-port-forwarding,no-agent-forwarding,no-X11-forwarding,command="echo 'Please login as the user \"foo\" rather than the user \"root\".';echo;sleep 10" ssh-rsa AAAAB3Nza...LiPk== [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment