Sunil Mohan Adapa 54538ed891
backups: Fix issue with verifying remote server identity
- The output of ssh-keyscan scan contain comments that start with '#'. When
these are present, they are incorrectly assumed to be valid keys. Ignore these
lines.

Tests:

- Output of ssh-keyscan with latest OpenSSH in Debian testing contains comments.
Trying to verify the identity of the remove host without the patch fails when
adding remote backup repository. When patch is applied, it works (except RSA
key).

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2024-12-29 14:01:01 -05:00
..
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:54 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-14 10:52:20 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00
2024-10-16 21:07:57 -07:00