Allow sha1 to ensure support for openssh 8.8

This commit is contained in:
Rien Maertens 2021-11-04 09:21:14 +01:00
parent 1cc004ed52
commit 156e2e37cd
No known key found for this signature in database
GPG Key ID: AE66CE42F1AF9DEF

View File

@ -90,7 +90,11 @@ done
ssh_cmd() {
echo "[SSH]" "$@" >&2
ssh -o ConnectTimeout=1 -o PasswordAuthentication=no "root@$remarkable" "$@"
ssh -o ConnectTimeout=1 \
-o PasswordAuthentication=no \
-o PubkeyAcceptedKeyTypes=+ssh-rsa \
-o HostKeyAlgorithms=+ssh-rsa \
"root@$remarkable" "$@"
}
# kill reStream on remarkable at the end.