Table of Contents
[Rclone] Config rclone to support diffie-hellman-group-exchange-sha256 diffie-hellman-group-exchange-sha1
Err info
haugiang@hg-nn-web:/$ rclone mount backup_sftp:/NongNghiep/ /gdrive2/ --allow-non-empty
2022/05/25 03:09:25 Failed to create file system for "backup_sftp:/NongNghiep/": NewFs: couldn't connect SSH: ssh: handshake failed: ssh: no common algorithm for key exchange; client offered: [curve25519-sha256 [email protected] ecdh-sha2-nistp256 ecdh-sha2-nistp384 ecdh-sha2-nistp521 diffie-hellman-group14-sha256 diffie-hellman-group14-sha1 ext-info-c], server offered: [diffie-hellman-group-exchange-sha1 diffie-hellman-group1-sha1]
Fix Config rclone to support diffie-hellman-group-exchange-sha256 diffie-hellman-group-exchange-sha1
We have managed to opt-in those algorithms support and submitted a PR here: https://github.com/ncw/rclone/pull/3341
Note: since those algorithms are considered insecure, your also need to use the exisiting rclone flag
--sftp-use-insecure-cipher
to make them available for SSH handshake.
My Example run Ok
rclone mount backup_sftp:/mnt/array1/NongNghiep/ /backup_drive/ --allow-non-empty --sftp-use-insecure-cipher