Merge pull request #79 from rien/fix-openssh

Allow sha1 to ensure support for openssh 8.8
This commit is contained in:
Rien 2021-11-04 09:48:25 +01:00 committed by GitHub
commit 989a4f7810
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.