Created
June 12, 2014 13:00
-
-
Save rynmrtn/1f375550b85c0d38e5fb to your computer and use it in GitHub Desktop.
Change the ULIMIT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. In /etc/ssh/sshd_config add: | |
UsePAM yes | |
2. Now add this in at the end of: /etc/security/limits.conf | |
* hard nofile 65000 | |
* soft nofile 65000 | |
3. reload SSH | |
/etc/init.d/sshd restart | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment