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

please support protocol version 3 ("posix-rename@openssh.com") #31

Open
martin21 opened this issue Jul 1, 2013 · 1 comment
Open

please support protocol version 3 ("posix-rename@openssh.com") #31

martin21 opened this issue Jul 1, 2013 · 1 comment

Comments

@martin21
Copy link

martin21 commented Jul 1, 2013

While trying to make distkeys work with Ruby 1.9 in order to get it included in Debian, I tried to work around bug

ruby-net-ssh: can't add a new key into hash during iteration during ssh.exec
net-ssh/net-ssh#110

by using sftp.rename!, however openssh 6.2p1 does not yet support sftp protocol version 5 for flags 0x0001 for overwrite and 0x0002 for atomic rewrite yet:

Bug 2123 - does not seem to support sftp protocol version 5 rename flag for overwriting files
https://bugzilla.mindrot.org/show_bug.cgi?id=2123

According to Darren it does however support a vendor extension to protocol version 3 ("posix-rename@openssh.com")¹. Please support this especially as he says its unlikely that OpenSSH will support SFTP protocol 5 soon.

Git repo for distkeys is

git://oss.teamix.org/distkeys.git

reproducer tag is openssh-bug-2123.

[1] https://bugzilla.mindrot.org/show_bug.cgi?id=2123#c2

Thanks,
Martin

@delano
Copy link
Collaborator

delano commented Jul 6, 2013

This is a good idea. The project is in maintenance mode at the moment (actually I should update the readme to reflect that) but I'm happy to bring in pull requests if you or someone else can make the change.

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