mirror of
https://github.com/rclone/rclone.git
synced 2025-02-21 17:19:57 +08:00

For SSH authentication, `key_pem` should both override `key_file` and not require other SSH authentication methods to be set. Prior to this fix, rclone would attempt to use an ssh-agent when `key_pem` was the only SSH authentication method set. Fixes #4240