Following on from #13, access the repository over SFTP, probably using https://docs.rs/ssh2/.
This is mostly implemented in https://github.com/sourcefrog/conserve/tree/sftp.
The code for this works in a branch, but not on the released version of SSH2, because of alexcrichton/ssh2-rs#251.
Releasing this in Conserve was blocked on alexcrichton/ssh2-rs#278, a new release of SSH2 that includes the fixes for readdir, but that is now fixed.
Still to do:
Alternatively, SSH could be supported based on https://docs.rs/openssh-sftp-client/latest/openssh_sftp_client/ and https://docs.rs/openssh/0.10.1/openssh/. That would
- Only work on Unix.
- Respect all your local configuration of SSH, since it literally runs external
ssh.
- Authenticate in whatever way is configured in to SSH, without needing every method to be specifically supported in Conserve.
Following on from #13, access the repository over SFTP, probably using https://docs.rs/ssh2/.
This is mostly implemented in https://github.com/sourcefrog/conserve/tree/sftp.
The code for this works in a branch, but not on the released version of SSH2, because of alexcrichton/ssh2-rs#251.
Releasing this in Conserve was blocked on alexcrichton/ssh2-rs#278, a new release of SSH2 that includes the fixes for readdir, but that is now fixed.
Still to do:
Alternatively, SSH could be supported based on https://docs.rs/openssh-sftp-client/latest/openssh_sftp_client/ and https://docs.rs/openssh/0.10.1/openssh/. That would
ssh.