Skip to content

Instantly share code, notes, and snippets.

@Jas0n99
Jas0n99 / generate-moduli.sh
Last active Jan 26, 2020 — forked from ulif/generate-moduli.sh
Generate primes for use with SSH
View generate-moduli.sh
#!/bin/bash
#
# Create primes for use with ssh.
#
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
for bitlen in 2048 3072 4096 6144 8192 ;
You can’t perform that action at this time.