Conversation
Handle SFTP V6 extensions commands - md5-hash-handle - check-file-handle - space-available - home-directory
c384814 to
b0778ce
Compare
|
I'v updated my PR after rebasing #59 work. |
|
I misclicked on close and comment. PR reopened. Sorry. |
|
@nabilbendafi thank for that! Looks awesome. Can you also add the usecase for it as a github comment? |
|
Use-cases can be multiple:
|
|
Do you think we can add end to end tests like we have in net-ssh? https://github.com/net-ssh/net-ssh/tree/master/test/integration |
|
Well, it's good idea. Though no integration tests are already shipped with |
|
Ok sounds fine. All those extensions in this pr are supported by openssh? And you tried all them, against a real server? |
|
How disappointed I am (and not the only one, obviously: SFTP and OpenSSH's "do as we please") to read that even if such extensions are part of latest RFCs, they are not part of OpenSSH code !
(source: http://web.mit.edu/freebsd/head/crypto/openssh/PROTOCOL) Instead, they use their own vendor specific extensions, such as I guest that I'll have to test against a SFTP server that supports them, such as Apache Mina SSHD |
Please find a pull request regarding https://tools.ietf.org/html/draft-ietf-secsh-filexfer-09 [9. Extensions]
Handle SFTP V6 extensions commands
Test results under
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]+net-ssh-4.1.0follows