Skip to content

Instantly share code, notes, and snippets.

@MattHodge
Last active November 7, 2016 07:57
Show Gist options
  • 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