Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support newer sftp protocol versions #593

Open
tionis opened this issue Sep 3, 2024 · 1 comment
Open

Support newer sftp protocol versions #593

tionis opened this issue Sep 3, 2024 · 1 comment

Comments

@tionis
Copy link

tionis commented Sep 3, 2024

Even though v3 is the most widely supported one, the most up-to-date specification is v6: https://www.sftp.net/specification

@puellanivis
Copy link
Collaborator

Yes, we are aware of the newer versions, example: https://github.com/pkg/sftp/blob/master/internal/encoding/ssh/filexfer/fx.go#L60-L61

The problem is that basically no one supports the newer versions, particularly not even OpenSSH: https://github.com/openssh/openssh-portable/blob/13cc78d016b67a74a67f1c97c7c348084cd9212c/sftp.h#L86-L96

Reading this section of the Wikipedia page is pretty informative: https://en.wikipedia.org/wiki/SSH_File_Transfer_Protocol#History_and_development

We’re considering in v2 of the API how we could provide a better ability for people to implement later versions if they need it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants