• Lang thang,  Linux

    [Rclone] Config rclone to support diffie-hellman-group-exchange-sha256 diffie-hellman-group-exchange-sha1

    [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 curve25519-sha256@libssh.org 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 https://stackoverflow.com/questions/56968274/config-rclone-to-support-diffie-hellman-group-exchange-sha256-diffie-hellman-gro

  • Lang thang,  Linux,  Mẹo vặt

    rclone – Fatal error: failed to mount FUSE fs

    rclone - Fatal error: failed to mount FUSE fs Error info 2022/05/10 04:07:15 mount helper error: fusermount: option allow_other only allowed if 'user_allow_other' is set in /etc/fuse.conf 2022/05/10 04:07:15 Fatal error: failed to mount FUSE fs: fusermount: exit status 1 Fix rclone - Fatal error: failed to mount FUSE fs Remove --allow-other option # Origin rclone mount ssh_dcsrv:/work/DEV/longdt/Server_Backup/ /gdrive/ --allow-other --allow-non-empty # Become rclone mount ssh_dcsrv:/work/DEV/longdt/Server_Backup/ /gdrive/ --allow-non-empty References https://forum.rclone.org/t/any-way-around-fusermount-option-allow-other-only-allowed-if-user-allow-other-is-set-in-etc-fuse-conf/20625

  • Lang thang,  Linux,  Mẹo vặt

    rclone – couldn’t connect ssh: ssh: must specify HostKeyCallback

    rclone - couldn't connect ssh: ssh: must specify HostKeyCallback Error info Fix rclone - couldn't connect ssh: ssh: must specify HostKeyCallback https://github.com/rclone/rclone/issues/3557#issuecomment-533618145 sudo curl https://rclone.org/install.sh | sudo bash References https://rclone.org/downloads/ https://github.com/rclone/rclone/issues/3557#issuecomment-533618145