Make the generated RSA keys a bit less aggressive.
5888 is supposed to be roughly equivalent to 180 bits of keyspace, which is what I use for passphrases, anyhow.
This commit is contained in:
@ -1,8 +1,9 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
keytype=rsa
|
keytype=rsa
|
||||||
keybits=16384
|
keybits=5888
|
||||||
|
|
||||||
if [ -z $1 ] ; then
|
if [ -z $1 ]
|
||||||
|
then
|
||||||
echo "Need a hostname"
|
echo "Need a hostname"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
while [ ! -z $1 ]; do
|
while [ ! -z $1 ]
|
||||||
|
do
|
||||||
echo "We will delete the key for the system known as \"${1}\":"
|
echo "We will delete the key for the system known as \"${1}\":"
|
||||||
ls -l ~/.ssh/valid/id_${1}.pub
|
ls -l ~/.ssh/valid/id_${1}.pub
|
||||||
echo "Press enter to continue..."
|
echo "Press enter to continue..."
|
||||||
|
Reference in New Issue
Block a user