Skip to content

Instantly share code, notes, and snippets.

@MattHodge
Last active November 7, 2016 07:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MattHodge/5d8f7966a8411b296ebdce208869a623 to your computer and use it in GitHub Desktop.
Save MattHodge/5d8f7966a8411b296ebdce208869a623 to your computer and use it in GitHub Desktop.
SetSSHMaxSessions.sh
echo "MaxSessions 50" | sudo tee -a /etc/ssh/sshd_config > /dev/null
sudo systemctl restart ssh.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment