Expand description
Transport is ssh <host> -s sftp.
OpenSSH owns ssh_config, so ProxyJump, non-standard ports, agent keys and certificates work without reimplementation. rclone’s sftp backend cannot read ssh_config (rclone#6987), which is why it fails on any host behind a jump box; borrowing the system ssh removes that whole class of bug.
Structs§
- SshChild
- Holds the ssh process. Dropping it kills the child, which closes both pipes and makes every pending caller fail rather than hang.