5888 is supposed to be roughly equivalent to 180 bits of keyspace, which is what I use for passphrases, anyhow.
15 lines
308 B
Bash
Executable File
15 lines
308 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
while [ ! -z $1 ]
|
|
do
|
|
echo "We will delete the key for the system known as \"${1}\":"
|
|
ls -l ~/.ssh/valid/id_${1}.pub
|
|
echo "Press enter to continue..."
|
|
read foobar
|
|
|
|
rm -f ~/.ssh/valid/id_${1}.pub
|
|
cat ~/.ssh/valid/id_*.pub > ~/.ssh/authorized_keys
|
|
|
|
shift 1
|
|
done
|