Created
February 15, 2016 08:58
-
-
Save ulif/465577e344464ab0df6d to your computer and use it in GitHub Desktop.
Strip short moduli from /etc/ssh/moduli
This file contains hidden or 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
#!/bin/bash | |
# | |
# Strip weak (short) moduli from /etc/ssh/moduli | |
# | |
awk '$5 >= 2047' /etc/ssh/moduli > /etc/ssh/moduli.stripped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment