Nudge user to use PEM format for SSH keys

See also:

https://github.com/duplicati/duplicati/issues/3360

https://forum.duplicati.com/t/openssh-rsa-keys-not-supported/12619/8

Duplicati uses SSH.NET. https://github.com/sshnet/SSH.NET/issues/485 describes the need for PEM format.
This commit is contained in:
Colin Dean 2024-05-05 12:57:52 -04:00 committed by GitHub
parent cd6831e989
commit 3a0570fbf4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -263,6 +263,7 @@ To guard against man-in-the-middle attacks, the server fingerprint is verified o
* `--ssh-keyfile`
Points to a valid OpenSSH keyfile. If the file is encrypted, the password supplied is used to decrypt the keyfile.
If this option is supplied, the password is not used to authenticate. This option only works when using the managed SSH client.
This key should be in PEM format, e.g. created with `ssh-keygen -m pem`.
* `--ssh-key`
An url-encoded SSH private key. The private key must be prefixed with `sshkey://`. If the file is encrypted, the password supplied is used to decrypt the keyfile. If this option is supplied, the password is not used to authenticate. This option only works when using the managed SSH client.
* `--ssh-operation-timeout = 0`