We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78ba069 commit bd5e118Copy full SHA for bd5e118
reinstall.sh
@@ -4004,7 +4004,7 @@ EOF
4004
4005
# https://manpages.debian.org/testing/openssh-server/authorized_keys.5.en.html#AUTHORIZED_KEYS_FILE_FORMAT
4006
is_valid_ssh_key() {
4007
- grep -qE '^(ecdsa-sha2-nistp(256|384|512)|ssh-(ed25519|rsa)) ' <<<"$1"
+ grep -qE '^(ecdsa-sha2-nistp(256|384|521)|ssh-(ed25519|rsa)) ' <<<"$1"
4008
}
4009
4010
[ -n "$2" ] || ssh_key_error_and_exit "Need value for $1"
0 commit comments